X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/packbundle/blobdiff_plain/3bca35c39f756b70a01fd2f2391cba66beb2b3d3..643ec0e1f2d4738984caed4753fe6c4f95302ca8:/Resources/config/packages/rapsys_pack.yaml diff --git a/Resources/config/packages/rapsys_pack.yaml b/Resources/config/packages/rapsys_pack.yaml index 78fe5b0..0fe0346 100644 --- a/Resources/config/packages/rapsys_pack.yaml +++ b/Resources/config/packages/rapsys_pack.yaml @@ -1,13 +1,11 @@ #Services configuration services: #Register assets pack package - assets.pack_package: - class: 'Rapsys\PackBundle\Asset\PackPackage' + rapsys.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_extension: class: 'Rapsys\PackBundle\Twig\PackExtension' - arguments: [ '@file_locator', '@service_container', '@assets.pack_package' ] + arguments: [ '@file_locator', '@service_container', '@rapsys.path_package' ] tags: [ 'twig.extension' ]