When I add such lines in my layout.html.php:
<?php foreach ($view['assetic']->stylesheets(
array('@AnglerBackendBundle/Resources/public/css/*')
) as $url
): ?>
<link rel="stylesheet" href="<?= $view->escape($url) ?>" />
<?php endforeach ?>
Config:
# Assetic Configuration
assetic:
debug: %kernel.debug%
use_controller: false
# java: /usr/bin/java
filters:
cssrewrite: ~
# closure:
# jar: %kernel.root_dir%/java/compiler.jar
yui_css:
jar: %kernel.root_dir%/java/yuicompressor.jar
yui_js:
jar: %kernel.root_dir%/java/yuicompressor.jar
I see 5 tags link with 5 resourses but according to Symfony 2 docs I should see only one file. What I did wrong