I use Symfony2.8, and when I use the command line to create controllers and twig templates, templates are created in
MyBundle/Resources/views/home/home.html.twig
I want to follow the recommendations of symfony docs and have it inside
app/Resources/views/home/home.html.twig
I could just cut and paste the twig file, and then change {% extends %} if necessary, but then I would have less hair on my head because I would pull it out.
So, what should I enter at the prompt so that it generates a controller in MyBundle , as usual, but the twig files would be in the global folder app/Resources/views
Thanks!
Edit: new extended question
source share