Hello,
I'm writing a bundle for symfony2 and I would like to override some of
its template in my app. I tried doing what's written in the doc there:
http://docs.symfony-reloaded.org/master/guides/templating.html#overriding-bundle-templates
But it doesn't work.

My bundle template is in MyBundle/Resources/views/Foo/bar.html.twig
And I copied it and modified it in app/views/MyBundle/Foo/
bar.html.twig

But symfony uses the template from the bundle. And if I delete it from
the bundle, symfony tells me that it can't find the template I'm
trying to render. The code I'm using:
$this->render('MyBundle:Foo:bar.html.twig'));

Is it a bug or a problem in my configuration?
thanks

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to