I have template for example index.html.php where I use php assetic loader like this
<?php foreach ($view['assetic']->javascripts( array('@AcmeFooBundle/Resources/public/js/*')) as $url): ?> <script type="text/javascript" src="<?php echo $view->escape($url) ?>"></script> <?php endforeach; ?>
If I do any changes for my template file I get Route "_assetic_2b431f4" does not exist.
If I change
assetic: use_controller: false
I get Cannot load resource ".". Error.
This comes when I do even one line change to file, so something about the cache. Clearing cache don't help etc. Any Ideas?