Преглед изворни кода

Fixed wrong route in "list__select.html.twig" (#3887)

Christian Gripp пре 9 година
родитељ
комит
c46a46abb8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Resources/views/CRUD/list__select.html.twig

+ 1 - 1
Resources/views/CRUD/list__select.html.twig

@@ -12,7 +12,7 @@ file that was distributed with this source code.
 {% extends admin.getTemplate('base_list_field') %}
 
 {% block field %}
-    <a class="btn btn-default" href="{{ admin.generateObjectUrl('edit', object) }}">
+    <a class="btn btn-default" href="{{ admin.generateObjectUrl('list') }}">
         <i class="fa fa-arrow-right"></i>
         {{ 'list_select'|trans({}, 'SonataAdminBundle') }}
     </a>