浏览代码

Fixed wrong method call in "list__select.html.twig"

core23 9 年之前
父节点
当前提交
1e618c0a1f
共有 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>