Skip to content

Commit

Permalink
TASK: Only match htmx pattern for workspace module
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebobo committed Dec 19, 2024
1 parent 89b7cae commit 4678c5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Neos.Workspace.Ui/Classes/Mvc/HtmxRequestPattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ final class HtmxRequestPattern implements RequestPatternInterface
{
public function matchRequest(ActionRequest $request): bool
{
return $request->getFormat() === 'htmx';
return $request->getFormat() === 'htmx' && $request->getControllerPackageKey() === 'Neos.Workspace.Ui';
}
}
2 changes: 1 addition & 1 deletion Neos.Workspace.Ui/Configuration/Settings.Flow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Neos:
mvc:
flashMessages:
containers:
'httpHeaderFlashMessages':
'Neos.Workspace.Ui:httpHeaderFlashMessages':
storage: 'Neos\Workspace\Ui\Mvc\HttpHeaderFlashMessageStorage'
requestPatterns:
'htmx':
Expand Down

0 comments on commit 4678c5d

Please sign in to comment.