Reputation: 953
i'm working on a sf2 project
for last 3 months where i've been using assetic without problems. But now, when calling assetic on a new template i get de following error Route "_assetic_baa4710.js" does not exist
which can be workaround by:
#config_dev.yml
assetic:
use_controller: false
and removing the following assetic config from routing_dev.yml
#routing_dev.yml
#_assetic:
# resource: .
# type: assetic
Does any one knows what's going on? Thx a lot! :D
Upvotes: 3
Views: 2584
Reputation: 418
Do a cache clean using
rm -rf apps/cache
Assetic - Route "_assetic_001d5b7_0" does not exist
Upvotes: 0
Reputation: 139
maybe is too late but... what worked for me:
php composer.phar install
php app/console cache:clear
php app/console cache:warmup
Upvotes: 0
Reputation: 367
I believe noisebleed's comment is the solution, it worked for me.
// app/config_dev.yml
assetic:
use_controller: true
bundles: ['FooBarBundle']
Upvotes: 1