Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 60c00b9 + 7724c3c commit 65691c2Copy full SHA for 65691c2
1 file changed
src/Sylius/Bundle/UiBundle/Resources/views/Grid/Action/archive.html.twig
@@ -1,4 +1,4 @@
1
-{% set path = path(grid.requestConfiguration.getRouteName('archive'), {'id': data.id}) %}
+{% set path = options.link.url|default(path(options.link.route|default(grid.requestConfiguration.getRouteName('archive')), options.link.parameters|default({'id': data.id}))) %}
2
3
<form action="{{ path }}" method="POST" name="sylius_archivable">
4
<input type="hidden" name="_method" value="PATCH">
0 commit comments