瀏覽代碼

fix missing closing parenthesis

Nicolas Ricci 11 年之前
父節點
當前提交
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.