浏览代码

Update architecture.rst

Wrong class were used in the child admin example ;)
Max Małecki 11 年之前
父节点
当前提交
f0efe333e3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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">