From 9c1dd15ddb84f8325f223e4354a9e1c85dc4c822 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Rapha=C3=ABl=20Gertz?= <git@rapsys.eu>
Date: Thu, 28 Nov 2019 21:24:14 +0100
Subject: [PATCH 1/1] Set the pack package in packages listing class Fix
 framework.asset.packages naming to match package name

---
 Resources/config/packages/rapsys_air.yaml | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml
index 45ce512..92abe3f 100644
--- a/Resources/config/packages/rapsys_air.yaml
+++ b/Resources/config/packages/rapsys_air.yaml
@@ -186,7 +186,7 @@ security:
 #        version_format: '%%s?v=%%s'
 #
 #        packages:
-#            pack_package:
+#            pack:
 #                base_path: '/bundles/%%s'
 
 #Service configuration
@@ -218,12 +218,10 @@ services:
     #Register air fixtures
     Rapsys\AirBundle\DataFixtures\AirFixtures:
         tags: [ 'doctrine.fixture.orm' ]
-    #Replace default package
-    #XXX: set base path to /bundles/<bundlealias> and disable versioning
-    assets._default_package:
-        class: 'Rapsys\PackBundle\Asset\PackPackage'
-        arguments: [ '/bundles/%%s', '@assets.empty_version_strategy', '@assets.context' ]
-#       arguments: [ '/', '@assets.static_version_strategy', '@assets.context' ]
+    #Replace assets packages
+    assets.packages:
+        class: Symfony\Component\Asset\Packages
+        arguments: [ '@assets.pack_package' ]
 #   #Set version strategy
 #   assets.static_version_strategy:
 #       class: Symfony\Component\Asset\VersionStrategy\StaticVersionStrategy
-- 
2.41.1