mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-07 08:46:42 +02:00
fix: return method instead of throwing a 404 when submitting a post
fixes #550
This commit is contained in:
parent
7287e603e2
commit
44ad651176
1 changed files with 3 additions and 1 deletions
|
|
@ -53,7 +53,9 @@ class PostController extends FediversePostController
|
|||
$this->actor = $this->podcast->actor;
|
||||
|
||||
if (count($params) <= 1) {
|
||||
throw PageNotFoundException::forPageNotFound();
|
||||
unset($params[0]);
|
||||
|
||||
return $this->{$method}(...$params);
|
||||
}
|
||||
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue