Skip to content

Commit

Permalink
Merge pull request #59 from acrobat/fix-legalpage-slug-action
Browse files Browse the repository at this point in the history
Use correct controller notation for legalpage slugaction
  • Loading branch information
acrobat committed Sep 4, 2020
2 parents 70026e5 + 943a954 commit 3bc3ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/skeleton/legal/Entity/Pages/LegalPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ public function getDefaultView()
*/
public function getControllerAction()
{
{% if not isV4 %}return 'KunstmaanCookieBundle:Legal:legalPage';{% else %}return LegalController::class.'::legalPage';{%endif%}
{% if not isV4 %}return 'KunstmaanCookieBundle:Legal:legalPage';{% else %}return LegalController::class.'::legalPageAction';{%endif%}
}
}

0 comments on commit 3bc3ef4

Please sign in to comment.