Sfoglia il codice sorgente

fix missing closing parenthesis

Nicolas Ricci 11 anni fa
parent
commit
f3240ed7f7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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.