Skip to content

Commit

Permalink
[BUGFIX] Only use names of Extbase actions/controllers in UriBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
ohader committed Jan 22, 2025
1 parent 82ff036 commit 77551d8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ public function doSomething()
->reset()
->setTargetPageUid(42)
->uriFor(
'myAction',
'my', // only action name, not `myAction`
[
'myRecord' => 21,
],
'MyController',
'My', // only controller name, not `MyController`
'myextension',
'myplugin',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ public function myAction(): ResponseInterface
->reset()
->setTargetPageUid(42)
->uriFor(
'anotherAction',
'another', // only action name, not `myAction`
[
'myRecord' => 21,
],
'MyController',
'My', // only controller name, not `MyController`
'myextension',
'myplugin',
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ public function render(): string
->reset()
->setTargetPageUid(2751)
->uriFor(
'anotherAction',
'another', // only action name, not `myAction`
[
'myRecord' => 21,
],
'MyController',
'My', // only controller name, not `MyController`
'myextension',
'myplugin',
);
Expand Down

0 comments on commit 77551d8

Please sign in to comment.