bug #183 Skip assets created by the assetic.asset DI tag in the routing (pvolok)
bug #183 Skip assets created by the assetic.asset DI tag in the routing (pvolok)

This PR was merged into the 2.4-dev branch.

Discussion
----------

Skip assets created by the assetic.asset DI tag in the routing

I'm adding assetic tags to the [Symfony reference](http://symfony.com/doc/master/reference/dic_tags.html). For the ``assetic.asset`` tag, the only  use case I can think of is:

``` yaml
services:
    my_asset:
        class: Assetic\Asset\StringAsset
        arguments: [ 'alert("Hey dawg!");' ]
        tags:
            - { name: assetic.asset, alias: my_asset }
```

```twig
{% javascripts '@my_asset' %}
    <script src="{{ asset_url }}"></script>
{% endjavascripts %}
```

But this code produces an error in ``Symfony\Bundle\AsseticBundle\Routing::load()``. It happens because this method tries to get a formula for every asset, while our asset doesn't have a formula. This PR skips assets without formulae.

Commits
-------

74cf3f7 Skip formula-less assets in routing

shieldo/AsseticBundle,symfony/AsseticBundle,Soullivaneuh/AsseticBundle,jandevani/AsseticBundle,artursvonda/AsseticBundle,javiereguiluz/assetic-bundle,nexylan/AsseticBundle,javiereguiluz/assetic-bundle,shieldo/AsseticBundle,nexylan/AsseticBundle,robertfausk/AsseticBundle,javiereguiluz/assetic-bundle,jandevani/AsseticBundle,jandevani/AsseticBundle,robertfausk/AsseticBundle,artursvonda/AsseticBundle,artursvonda/AsseticBundle,xabbuh/AsseticBundle,robertfausk/AsseticBundle,symfony/AsseticBundle,shieldo/AsseticBundle,taueres/AsseticBundle,symfony/assetic-bundle,Soullivaneuh/AsseticBundle,taueres/AsseticBundle,Soullivaneuh/AsseticBundle,ThatCheck/AsseticBundle,stof/AsseticBundle,symfony/AsseticBundle,nexylan/AsseticBundle,ThatCheck/AsseticBundle,xabbuh/AsseticBundle,taueres/AsseticBundle,stof/AsseticBundle,stof/AsseticBundle,symfony/assetic-bundle,ThatCheck/AsseticBundle,symfony/assetic-bundle