Explorar el Código

fixed more namespace errors, removed accidental paste of path

Layton Everson hace 9 años
padre
commit
70364f1c68
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Resources/doc/reference/architecture.rst

+ 2 - 2
Resources/doc/reference/architecture.rst

@@ -327,11 +327,11 @@ To do this, you first need to call the ``addChild`` method in your PostAdmin ser
     .. code-block:: xml
 
         <!-- app/config/config.xml -->
-        <service id="sonata.news.admin.post" class="Sonata\NewsBundle\Admin\PostAdmin">
+        <service id="sonata.news.admin.post" class="AppBundle\Admin\PostAdmin">
             <!-- ... -->
 
             <call method="addChild">
-                <argument type="serv/home/layton/Projects/SonataAdminBundleice" id="sonata.news.admin.comment" />
+                <argument type="service" id="sonata.news.admin.comment" />
             </call>
         </service>