FIX: actions and tree urls handling

This commit is contained in:
Tony Air 2023-11-08 20:27:38 +02:00
parent 7b664df3a0
commit 90e1a0676e

View File

@ -187,8 +187,11 @@ class URLLinkablePlugin implements ModelQueryPlugin
$action = $match['action'];
$action = ($action === 'handleAction') ? $actionParam : $action;
if ($action && !$ctl->hasAction($action)) {
if (
$action
&& $req->param('Action') !== $action
&& !$ctl->hasAction($action)
) {
return self::RenderNotFound($object);
}