fix(fediverse): do not cache remote action form + fix typo on post routes for passing post uuid

+ remove unnecessary session->start() directive
This commit is contained in:
Yassine Doghri 2023-09-17 10:07:59 +00:00
commit 4ecb42f7c8
8 changed files with 20 additions and 39 deletions

View file

@ -50,7 +50,7 @@ class PostController extends Controller
public function _remap(string $method, string ...$params): mixed
{
if (count($params) === 0) {
if ($params === []) {
throw PageNotFoundException::forPageNotFound();
}