فهرست منبع

fix documentation

Thomas 14 سال پیش
والد
کامیت
d3cec22c9e
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      Resources/doc/reference/installation.rst

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

@@ -73,7 +73,7 @@ Declaring new Entity
 
 Once you have created an admin class, you must declare the class to use it. Like ::
 
-.. code-block:: yaml
+.. code-block:: xml
 
     # app/config/config.xml
 
@@ -81,6 +81,6 @@ Once you have created an admin class, you must declare the class to use it. Like
 
         <tag name="sonata.admin" manager_type="orm" group="sonata_blog" label="post"/>
 
-        <argument>Application\Sonata\NewsBundle\Entity\Post</argument>
+        <argument>Sonata\NewsBundle\Entity\Post</argument>
         <argument>SonataNewsBundle:PostAdmin</argument>
     </service>