title: twig_js bundle with Symfony 2.3
body: <p>I install the <strong>twig_js bundle</strong> : <a href="https://github.com/schmittjoh/JMSTwigJsBundle/blob/master/Resources/doc/index.rst" rel="nofollow">https://github.com/schmittjoh/JMSTwigJsBundle/blob/master/Resources/doc/index.rst</a></p>
  
  <p>I use <strong>packagist</strong>: <a href="https://packagist.org/packages/jms/twig-js-bundle" rel="nofollow">https://packagist.org/packages/jms/twig-js-bundle</a></p>
  
  <p>I have this code in my layout : </p>
  
  <pre><code>{% javascripts 
      '@AcmeFooBundle/Resources/public/js/ajax.js' 
  filter='twig_js, ?yui_js' %}
      &lt;script type="text/javascript" src="{{ asset_url }}"&gt;&lt;/script&gt;
  {% endjavascripts %}
  </code></pre>
  
  <p>But when I try to dump my assets with this command line: 
  <strong>php app/console assetic:dump</strong></p>
  
  <p>I have this error: </p>
  
  <p>[InvalidArgumentException]                                             Template name "Resources/public/js/ajax.js" is not valid (format is "bundle   :section:template.format.engine").</p>
  
  <p>Here the assetic configuration of the <strong>app/config.yml</strong> file: </p>
  
  <pre><code># Assetic Configuration
  assetic:
  debug:          "%kernel.debug%"
  use_controller: false
  bundles:
      - AcmeFooBundle
      - JMSTwigJsBundle
  filters:
      yui_js:
          jar: "%kernel.root_dir%/Resources/java/yuicompressor.jar"
      twig_js:
          resource: "%kernel.root_dir%/../vendor/jms/twig-js-bundle/JMS/TwigJsBundle/Resources/config/services.xml"
          apply_to: "\.twig$"
      cssrewrite: ~
      #java: /usr/bin/java
      #closure:
      #    jar: "%kernel.root_dir%/Resources/java/compiler.jar"
      #yui_css:
      #    jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar"
  </code></pre>
  
  <p>Anyone have an idea about this ? Thank you by advance.</p>