]> Raphaël G. Git Repositories - packbundle/commitdiff
Switch to kernel.secret like documented in symfony example
authorRaphaël Gertz <git@rapsys.eu>
Wed, 11 Aug 2021 18:23:22 +0000 (20:23 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Wed, 11 Aug 2021 18:23:22 +0000 (20:23 +0200)
Resources/config/packages/rapsys_pack.yaml

index b9a1645cf0a323ac8bc34b15f124fa8a158c0084..26e957be07b2908af1a9231895a6005b40d0e483 100644 (file)
@@ -21,7 +21,7 @@ services:
     #Register slugger util service
     rapsys_pack.slugger_util:
         class: 'Rapsys\PackBundle\Util\SluggerUtil'
     #Register slugger util service
     rapsys_pack.slugger_util:
         class: 'Rapsys\PackBundle\Util\SluggerUtil'
-        arguments: [ '%env(APP_SECRET)%' ]
+        arguments: [ '%kernel.secret%' ]
         public: true
     #Register slugger util class alias
     Rapsys\PackBundle\Util\SluggerUtil:
         public: true
     #Register slugger util class alias
     Rapsys\PackBundle\Util\SluggerUtil: