Преглед на файлове

[WebBundle] changed the helper configuration to match the latest version of the Templating component

Fabien Potencier преди 15 години
родител
ревизия
7f0ace8521
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      src/Symfony/Framework/WebBundle/Resources/config/templating.xml

+ 2 - 0
src/Symfony/Framework/WebBundle/Resources/config/templating.xml

@@ -45,10 +45,12 @@
 
     <service id="templating.helper.javascripts" class="%templating.helper.javascripts.class%">
       <annotation name="templating.helper" alias="javascripts" />
+      <argument type="service" id="templating.helper.assets" />
     </service>
 
     <service id="templating.helper.stylesheets" class="%templating.helper.stylesheets.class%">
       <annotation name="templating.helper" alias="stylesheets" />
+      <argument type="service" id="templating.helper.assets" />
     </service>
 
     <service id="templating.helper.slots" class="%templating.helper.slots.class%">