X-Git-Url: https://git.rapsys.eu/airbundle/blobdiff_plain/a0797cd7cce978a98795cc91e5616ae742eb869d..fe59f51fdb958a8cf0a773f8763354877b5c7e05:/Resources/config/packages/rapsys_air.yaml

diff --git a/Resources/config/packages/rapsys_air.yaml b/Resources/config/packages/rapsys_air.yaml
index 9b0ada5..92abe3f 100644
--- a/Resources/config/packages/rapsys_air.yaml
+++ b/Resources/config/packages/rapsys_air.yaml
@@ -118,9 +118,9 @@ doctrine:
 security:
     #Set encoders
     encoders:
-        Rapsys\AirBundle\Entity\User: plaintext
-        #Rapsys\AirBundle\Entity\User:
-        #    algorithm: 'bcrypt'
+        #Rapsys\AirBundle\Entity\User: plaintext
+        Rapsys\AirBundle\Entity\User:
+            algorithm: 'bcrypt'
 
     #Set providers
     providers:
@@ -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\PathPackage'
-        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