fabpot/Twig — Issue #567: Document Path info for include
Author: tacman
Created: 2011-12-22 13:15:53+00:00
State: open

http://twig.sensiolabs.org/doc/tags/include.html

{% include 'header.html' %} isn't working for me, undoubtedly because it's looking in the wrong directory. I'm including it from a base.html.twig file, but am uncertain what format to use to include a file either from the calling directory, or if I wanted to include something from a different bundle. I assume path() works here, but an example would be helpful.