We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f617ff8 commit f9f5b74Copy full SHA for f9f5b74
cookbook/assetic/uglifyjs.rst
@@ -232,15 +232,16 @@ helper:
232
233
.. code-block:: html+jinja
234
235
- {% stylesheets '@AcmeFooBundle/Resources/public/css/*' filter='uglifycss' %}
+ {% stylesheets 'bundles/AcmeFoo/css/*' filter='uglifycss' filter='cssrewrite' %}
236
<link rel="stylesheet" href="{{ asset_url }}" />
237
{% endstylesheets %}
238
239
.. code-block:: html+php
240
241
<?php foreach ($view['assetic']->stylesheets(
242
- array('@AcmeFooBundle/Resources/public/css/*'),
243
- array('uglifycss')
+ array('bundles/AcmeFoo/css/*'),
+ array('uglifycss'),
244
+ array('cssrewrite')
245
) as $url): ?>
246
<link rel="stylesheet" href="<?php echo $view->escape($url) ?>" />
247
<?php endforeach; ?>
0 commit comments