Skip to content

Commit

Permalink
Merge branch '1.0' into 1.1
Browse files Browse the repository at this point in the history
* 1.0:
  Default parameters for "default" grid action
  • Loading branch information
pamil committed Apr 19, 2018
2 parents d8d21da + a1e9694 commit aff0654
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,5 +1,5 @@
{% import '@SyliusUi/Macro/buttons.html.twig' as buttons %}

{% set path = options.link.url|default(path(options.link.route, options.link.parameters)) %}
{% set path = options.link.url|default(path(options.link.route, options.link.parameters|default({}))) %}

{{ buttons.default(path, action.label, null, action.icon) }}

0 comments on commit aff0654

Please sign in to comment.