Skip to content

Commit

Permalink
Merge pull request #195 from kmadejski/ezp_29144
Browse files Browse the repository at this point in the history
Follow-up EZP-29144: Pass semanticPathInfo as a controller argument
  • Loading branch information
andrerom committed Oct 5, 2018
2 parents 7e4f05d + 617c218 commit 8e0d4af
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Resources/views/pagelayout.html.twig
Expand Up @@ -21,7 +21,15 @@
{% endif %}

<!-- Complete page area: START -->
{{ render_esi( controller( "ezpublish_legacy.website_toolbar.controller:websiteToolbarAction", { 'locationId': currentLocation.id|default( null )} ) ) }}
{{ render_esi(
controller(
"ezpublish_legacy.website_toolbar.controller:websiteToolbarAction",
{
'locationId': currentLocation.id|default( null ),
'originalSemanticPathInfo': ezpublish.requestedUriString
}
)
) }}
<div id="page" class="">
<!-- Header area: START -->
{% block header %}
Expand Down

0 comments on commit 8e0d4af

Please sign in to comment.