Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 98a4ccb

Browse filesBrowse 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
Copy full SHA for 98a4ccb

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎cookbook/assetic/uglifyjs.rst

Copy file name to clipboardExpand all lines: cookbook/assetic/uglifyjs.rst
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.