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
ohader authored Jan 22, 2025

Verified

This commit was signed with the committer’s verified signature.
JLLeitschuh Jonathan Leitschuh
1 parent 82ff036 commit eff7827
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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',
);
Original file line number Diff line number Diff line change
@@ -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',
);
Original file line number Diff line number Diff line change
@@ -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',
);

0 comments on commit eff7827

Please sign in to comment.