Browse Source

add admin.yml call

Nicolas Ricci 11 years ago
parent
commit
a0c672c588
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Resources/doc/cookbook/recipe_sortable_listing.rst

+ 7 - 0
Resources/doc/cookbook/recipe_sortable_listing.rst

@@ -237,6 +237,13 @@ Last tricky part, in order to get the last position available in our twig templa
             ));
     }
 
+And in  the admin.yml add the following call
+
+.. configuration-block::
+
+    .. code-block:: yaml
+    
+	- [ setContainer, [ @service_container ] ]
 
 Finally the twig files to display our up and down arrows in the listing