Просмотр исходного кода

Merge pull request #2081 from emgiezet/patch-3

Update architecture.rst
Thomas 11 лет назад
Родитель
Сommit
5d222ec852
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">