Skip to content

Commit a816dc3

Browse files
committed
Fixed typo in UglifyCss usage example
1 parent 826197b commit a816dc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/assetic/uglifyjs.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,13 +230,13 @@ helper:
230230

231231
.. code-block:: html+jinja
232232

233-
{% javascripts '@AcmeFooBundle/Resources/public/css/*' filter='uglifycss' %}
233+
{% stylesheets '@AcmeFooBundle/Resources/public/css/*' filter='uglifycss' %}
234234
<link rel="stylesheet" href="{{ asset_url }}" />
235-
{% endjavascripts %}
235+
{% endstylesheets %}
236236
237237
.. code-block:: html+php
238238

239-
<?php foreach ($view['assetic']->javascripts(
239+
<?php foreach ($view['assetic']->stylesheets(
240240
array('@AcmeFooBundle/Resources/public/css/*'),
241241
array('uglifycss')
242242
) as $url): ?>

0 commit comments

Comments
 (0)