title: Configure output dir for Assetic in Symfony2
body: <p>I'd like to globally configure the output dir of where assetic dumps my JS files. Currently, they always go to <code>web/js/*</code>. I want to change this to <code>web/js/compiled/*</code>. </p>
  
  <p>It's possible to specify this at a per-file level: <a href="http://symfony.com/doc/2.0/cookbook/assetic/asset_management.html#dumping-asset-files">http://symfony.com/doc/2.0/cookbook/assetic/asset_management.html#dumping-asset-files</a></p>
  
  <p>Can't seem to find a way to set this globally across my Symfony app. Any config parameter I'm missing?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Found an assetic config parameter called <code>write_to</code>. Setting this in <code>config.yml</code> causes the command line <code>assetic:dump</code> to dump files to the new dir, but within twig files the <code>asset_url</code> var still points to the original path.</p>