From 6fd7bc035a170d715891a185f2c11d6cfdd3788f Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 6 Feb 2013 16:27:11 +0100 Subject: [PATCH 1/2] [Assetic] added a note about the need to remove a route _assetic route needs to be removed when use_controller is set to false. --- cookbook/assetic/asset_management.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cookbook/assetic/asset_management.rst b/cookbook/assetic/asset_management.rst index 660ba8e902a..78ed4a8df85 100644 --- a/cookbook/assetic/asset_management.rst +++ b/cookbook/assetic/asset_management.rst @@ -337,6 +337,10 @@ the following change in your ``config_dev.yml`` file: 'use_controller' => false, )); +.. note:: + +You'll also have to remove the ```_assetic``` route in your ```app/config_dev.yml``` file. + Next, since Symfony is no longer generating these assets for you, you'll need to dump them manually. To do so, run the following: From 8e970ab0c880465d052f9fe09ccbe870f7d415b7 Mon Sep 17 00:00:00 2001 From: Bilal Amarni Date: Wed, 6 Feb 2013 16:48:54 +0100 Subject: [PATCH 2/2] fixed typo --- cookbook/assetic/asset_management.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbook/assetic/asset_management.rst b/cookbook/assetic/asset_management.rst index 78ed4a8df85..1ef686d6cba 100644 --- a/cookbook/assetic/asset_management.rst +++ b/cookbook/assetic/asset_management.rst @@ -339,7 +339,7 @@ the following change in your ``config_dev.yml`` file: .. note:: -You'll also have to remove the ```_assetic``` route in your ```app/config_dev.yml``` file. + You'll also have to remove the ``_assetic`` route in your ``app/config_dev.yml`` file. Next, since Symfony is no longer generating these assets for you, you'll need to dump them manually. To do so, run the following: