فهرست منبع

Merge pull request #3897 from core23/patch/list-select-2

Fixed wrong method call in "list__select.html.twig"
Oskar Stark 9 سال پیش
والد
کامیت
38eda8349a
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('list') }}">
+    <a class="btn btn-default" href="{{ admin.generateUrl('list') }}">
         <i class="fa fa-arrow-right"></i>
         {{ 'list_select'|trans({}, 'SonataAdminBundle') }}
     </a>