Browse Source

fix documentation

Thomas 14 years ago
parent
commit
d3cec22c9e
1 changed files with 2 additions and 2 deletions
  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>