sonata-project/SonataNewsBundle — Issue #33: HelperController service injection failure
Author: pulse00
Created: 2011-12-05 09:47:01+00:00
State: open

When editing a blog post in the generated admin interface, i'm getting the following error:

```
An exception has been thrown during the rendering of a template
("Catchable Fatal Error: Argument 1 passed to
Sonata\AdminBundle\Controller\HelperController::__construct()
must be an instance of Twig_Environment, none given, called in
/Users/username/Sites/project/symfony/app/cache/dev/classes.php on line 4582
and defined in
/Users/username/Sites/project/symfony/vendor/bundles/Sonata/AdminBundle/Controller/HelperController.php
line 50") in SonataDoctrineORMAdminBundle:CRUD:edit_orm_many_to_one.html.twig at line 23.
```