title: Symfony2 : cannot load resource "."
body: <p>I'm having an issue with assets management in Symfony2. I keep getting the following error :</p>
  
  <pre><code>Cannot load resource ".". 
  </code></pre>
  
  <p>I've been trying to fix it in my config and routing files for dev environment, but the only thing I really did was changing the <code>use_controller</code> to <code>false</code> in the <code>config_dev.yml</code> file.</p>
  
  <p>I keep summoning my resources in my templates with</p>
  
  <pre><code>{% stylesheets '@MyBundle/Resources/public/css/style.css'
                              filter='cssrewrite' %}
          &lt;link rel="stylesheet" href="{{ asset_url }}" type="text/css" /&gt;
  {% endstylesheets %} 
  </code></pre>
  
  <p>and I keep getting the exception :</p>
  
  <pre><code>Cannot load resource ".". 
  </code></pre>
  
  <p>Any tips on what could go wrong? (I've cleared the cache several times)</p>
  
  <p>Thanks in advance</p>
  
  <p>Edit :</p>
  
  <p>I've tried removing :</p>
  
  <pre><code>_assetic:
      resource: .
      type:     assetic
  </code></pre>
  
  <p>from my routing_dev.yml file, and the error disappears (with, of course, the resources in my page)</p>
  
  <p>Reedit :</p>
  
  <p>After a complete reinstallation, it seems to be working again. Probably some property I had changed unvoluntarily... Case closed.</p>