浏览代码

Corrected baseRoutePattern example

The example for the base route pattern used a wrong property ($baseRouteName instead of $baseRoutePattern).
tsilefy 11 年之前
父节点
当前提交
351ce055e4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/reference/routing.rst

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

@@ -53,7 +53,7 @@ use the following code:
     <?php
     class FooAdmin extends Admin
     {
-        protected $baseRouteName = 'foo';
+        protected $baseRoutePattern = 'foo';
     }
 
 You will then have route URLs like ``http://yourdomain.com/admin/foo/list`` and