symfony/symfony — Issue #2424: Rendering controller on subfolder
Author: cpnfortehwin
Created: 2011-10-18 10:04:12+00:00
State: open

From twig or php, when we try to render a controller which is on a subfolder, it throw a fatal error,

i use:

```{% render "AcmeDemoBunfle:Frontend/Default:index" %}```

_Frontend is my subdirectory of "Controller" and Default is my controller_

I this this is the good syntax, but i have the error:

Fatal error: Cannot redeclare class *CONTROLLER_CLASS* in *CONTROLLER_CLASS*on line 10