Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Nov 27, 2018
1 parent da68b84 commit 61c01b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/views/default/show.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
<div class="col-sm-10 col-sm-offset-2">
{% block item_actions %}
{% set _show_actions = easyadmin_get_actions_for_show_item(_entity_config.name) %}
{% set _request_parameters = app.request.query.all %}
{% set _request_parameters = app.request.query.all|merge({ referer: null }) %}
{% set _request_parameters = _request_parameters|merge({ referer: path('easyadmin', _request_parameters)|url_encode }) %}

{{ include('@EasyAdmin/default/includes/_actions.html.twig', {
actions: _show_actions,
Expand Down

0 comments on commit 61c01b5

Please sign in to comment.