Просмотр исходного кода

fix missing closing parenthesis

Nicolas Ricci 11 лет назад
Родитель
Сommit
f3240ed7f7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      Resources/doc/reference/routing.rst

+ 1 - 1
Resources/doc/reference/routing.rst

@@ -69,7 +69,7 @@ the admin variable's ``generateUrl()`` command:
 
     <a href="{{ admin.generateUrl('list') }}">List</a>
 
-    <a href="{{ admin.generateUrl('list', params|merge('page': 1) }}">List</a>
+    <a href="{{ admin.generateUrl('list', params|merge('page': 1)) }}">List</a>
 
 Note that you do not need to provide the Admin's route prefix (baseRouteName) to
 generate a URL for the current Admin, just the action name.