@@ -15,7 +15,7 @@ AsseticBundle executing this console command in your project:
15
15
16
16
$ composer require symfony/assetic-bundle
17
17
18
- Then, enable the bundle in the ``AppKernel `` file of your Symfony application::
18
+ Then, enable the bundle in the ``AppKernel.php `` file of your Symfony application::
19
19
20
20
// app/AppKernel.php
21
21
@@ -44,8 +44,8 @@ your application:
44
44
45
45
# app/config/config.yml
46
46
assetic :
47
- debug : " %kernel.debug%"
48
- use_controller : false
47
+ debug : ' %kernel.debug%'
48
+ use_controller : ' %kernel.debug% '
49
49
filters :
50
50
cssrewrite : ~
51
51
@@ -57,12 +57,11 @@ your application:
57
57
<?xml version =" 1.0" encoding =" UTF-8" ?>
58
58
<container xmlns =" http://symfony.com/schema/dic/services"
59
59
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
60
- xmlns : framework =" http://symfony.com/schema/dic/symfony"
61
- xmlns : twig =" http://symfony.com/schema/dic/twig"
60
+ xmlns : assetic =" http://symfony.com/schema/dic/assetic"
62
61
xsi : schemaLocation =" http://symfony.com/schema/dic/services
63
62
http://symfony.com/schema/dic/services/services-1.0.xsd
64
- http://symfony.com/schema/dic/symfony
65
- http://symfony.com/schema/dic/symfony/symfony -1.0.xsd" >
63
+ http://symfony.com/schema/dic/assetic
64
+ http://symfony.com/schema/dic/assetic/assetic -1.0.xsd" >
66
65
67
66
<assetic : config debug =" %kernel.debug%" use-controller =" %kernel.debug%" >
68
67
<assetic : filters cssrewrite =" null" />
@@ -74,7 +73,6 @@ your application:
74
73
.. code-block :: php
75
74
76
75
// app/config/config.php
77
-
78
76
$container->loadFromExtension('assetic', array(
79
77
'debug' => '%kernel.debug%',
80
78
'use_controller' => '%kernel.debug%',
0 commit comments