Pārlūkot izejas kodu

Merge pull request #1565 from tsilefy/routing-doc

Corrected baseRoutePattern example
Thomas 12 gadi atpakaļ
vecāks
revīzija
59c5d7d654
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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