8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f617ff8 + f9f5b74 commit bffe163Copy full SHA for bffe163
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