[COMPONENT][Right Panel] Send request to AppendRightPanelBlock event

This commit is contained in:
Phablulo Joel 2021-12-30 12:14:41 -03:00
parent d7f70d288d
commit bdd8cbf36d

View File

@ -48,7 +48,7 @@
{% endif %} {% endif %}
{% set current_path = app.request.get('_route') %} {% set current_path = app.request.get('_route') %}
{% for block in handle_event('AppendRightPanelBlock', {'path': current_path, 'vars': right_panel_vars | default }, request) %} {% for block in handle_event('AppendRightPanelBlock', {'path': current_path, 'request': request, 'vars': right_panel_vars | default }, request) %}
{{ block | raw }} {{ block | raw }}
{% endfor %} {% endfor %}