Skip to content

Commit 98a4ccb

Browse files
committed
Merge pull request symfony#2898 from Kryniol/2.2
symfony#2897 Fixed typo in UglifyCss usage example
2 parents 7c7ff99 + a816dc3 commit 98a4ccb

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)