schmittjoh/JMSDiExtraBundle — Issue #14: Controllers cannot guess templates after enabling JMSDiExtra bundle
Author: jonathaningram
Created: 2011-11-22 05:43:42+00:00
State: open

Hi Johannes, after enabling `JMSDiExtraBundle` in my application, my controllers no longer work. I am receiving the following error:

`The "Jbi\ProjectBundle\Controller\ProjectController__CG__b0488524c7d97e7f63deb8ebce2e1d41fb1363a8" class does not look like a controller class (it must be in a "Controller" sub-namespace and the class name must end with "Controller")`

It seems obvious that a custom class has been generated and now the Symfony template handler cannot figure out where my templates are located (FYI, I'm using the `@Template` annotation for most actions).

Please let me know what you think and if you need any more information.

Cheers,
Jon