Explorar o código

Merge pull request #1565 from tsilefy/routing-doc

Corrected baseRoutePattern example
Thomas %!s(int64=12) %!d(string=hai) anos
pai
achega
59c5d7d654
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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