Parcourir la source

Corrected baseRoutePattern example

The example for the base route pattern used a wrong property ($baseRouteName instead of $baseRoutePattern).
tsilefy il y a 11 ans
Parent
commit
351ce055e4
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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