]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Resources/config/packages/rapsys_pack.yaml
Add context supporting getBaseUrl feature
[packbundle] / Resources / config / packages / rapsys_pack.yaml
index 78fe5b07a1296187fc87bdc9f4257ada3cd39c14..ce892d6eb6e1c9f24df9249330c29bf1c600b5a4 100644 (file)
@@ -1,13 +1,11 @@
 #Services configuration
 services:
     #Register assets pack package
-    assets.pack_package:
-        class: 'Rapsys\PackBundle\Asset\PackPackage'
+    rapsys_pack.path_package:
+        class: 'Rapsys\PackBundle\Asset\PathPackage'
         arguments: [ '/', '@assets.empty_version_strategy', '@assets.context' ]
-#       arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ]
-#       arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ]
     #Register twig pack extension
-    rapsys_pack.twig.pack_extension:
+    rapsys_pack.pack_extension:
         class: 'Rapsys\PackBundle\Twig\PackExtension'
-        arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ]
+        arguments: [ '@file_locator', '@service_container', '@rapsys_pack.path_package' ]
         tags: [ 'twig.extension' ]