Browse Source

Update architecture.rst

Wrong class were used in the child admin example ;)
Max Małecki 11 years ago
parent
commit
f0efe333e3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Resources/doc/reference/architecture.rst

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

@@ -284,7 +284,7 @@ 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\CommentAdmin">
+    <service id="sonata.news.admin.post" class="Sonata\NewsBundle\Admin\PostAdmin">
         ...
 
         <call method="addChild">