diff --git a/cookbook/assetic/apply_to_option.rst b/cookbook/assetic/apply_to_option.rst
index a1e93b70c6b..ab833cf4cdc 100644
--- a/cookbook/assetic/apply_to_option.rst
+++ b/cookbook/assetic/apply_to_option.rst
@@ -28,11 +28,12 @@ respectively to ``/usr/bin/coffee``, ``/usr/bin/node`` and ``/usr/lib/node_modul
-
+ bin="/usr/bin/coffee/"
+ node="/usr/bin/node/">
+ /usr/lib/node_modules/
+
.. code-block:: php
@@ -43,7 +44,7 @@ respectively to ``/usr/bin/coffee``, ``/usr/bin/node`` and ``/usr/lib/node_modul
'coffee' => array(
'bin' => '/usr/bin/coffee',
'node' => '/usr/bin/node',
- 'node_paths' => '/usr/lib/node_modules/',
+ 'node_paths' => array('/usr/lib/node_modules/'),
),
),
));
@@ -142,10 +143,10 @@ applied to all ``.coffee`` files:
name="coffee"
bin="/usr/bin/coffee"
node="/usr/bin/node"
- node_paths="/usr/lib/node_modules/"
apply_to="\.coffee$" />
+ /usr/lib/node_modules/
-
+
.. code-block:: php
// app/config/config.php
@@ -154,7 +155,7 @@ applied to all ``.coffee`` files:
'coffee' => array(
'bin' => '/usr/bin/coffee',
'node' => '/usr/bin/node',
- 'node_paths' => '/usr/lib/node_modules/',
+ 'node_paths' => array('/usr/lib/node_modules/'),
'apply_to' => '\.coffee$',
),
),