title: Symfony Get a file path into a twig template, the file is in customBundle:Resources:views not in web dir
body: <p>In one of my twig template, I have a javascript block
  where i must give the path of a certain html file. 
  I have tried this but having console error
  <br></p>
  
  <pre><code>jQuery(document).ready(function ($) {
  $("#content").builder({
  themeFile: '{{ "ContentbuildBundle:Template:theme.html.twig" }}',
  toolbar: 'right',
  onRender: function() {
  $('#contentarea').trigger('focusout');
  }
  });
  }
  </code></pre>
  
  <p><br>
  <a href="https://i.stack.imgur.com/pDOh5.png" rel="nofollow noreferrer">enter image description here</a></p>