Skip to content

Commit 933c7c8

Browse files
Fixed wrong filter name in PHP examples
1 parent 630af1d commit 933c7c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/assetic/apply_to_option.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ respectively to ``/usr/bin/coffee`` and ``/usr/bin/node``:
3535
// app/config/config.php
3636
$container->loadFromExtension('assetic', array(
3737
'filters' => array(
38-
'jpegoptim' => array(
38+
'coffee' => array(
3939
'bin' => '/usr/bin/coffee',
4040
'node' => '/usr/bin/node',
4141
),
@@ -140,7 +140,7 @@ applied to all ``.coffee`` files:
140140
// app/config/config.php
141141
$container->loadFromExtension('assetic', array(
142142
'filters' => array(
143-
'jpegoptim' => array(
143+
'coffee' => array(
144144
'bin' => '/usr/bin/coffee',
145145
'node' => '/usr/bin/node',
146146
'apply_to' => '\.coffee$',

0 commit comments

Comments
 (0)