title: Symfony2: Twig: Default template file in custom location
body: <p>I try to load a simple <code>base.html.twig</code> template file that was moved from symfony's default location <code>app/Resources/views/</code> to the custom location <code>theme/</code>.</p>
  
  <p>The template file contains:</p>
  
  <pre><code>    &lt;!DOCTYPE html&gt;
      &lt;html&gt;
       &lt;head&gt;
       ...
       &lt;/head&gt;
       &lt;body&gt;
        {% block body %}{% endblock %}
       &lt;/body&gt;
      &lt;/html&gt;
  </code></pre>
  
  <p>Extending the above template file by the controller <code>Acme\Core\CoreBundle\Controller</code> by using the controller-specific template</p>
  
  <pre><code>    {% extends '::base.html.twig' %}
      {% block body %}
        Hello world!
      {% endblock %}
  </code></pre>
  
  <p>leads to an error saying <code>Unable to find template "::base.html.twig" in "AcmeCoreCoreBundle:Default:index.html.twig".</code>.</p>
  
  <p>How is it possible to tell symfony where to find the template files in global space?</p>
  
  <p>Thanks in advance.</p>