ソースを参照

fixed more namespace errors, removed accidental paste of path

Layton Everson 9 年 前
コミット
70364f1c68
1 ファイル変更2 行追加2 行削除
  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>