]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/packages/rapsys_air.yaml
Add slug field
[airbundle] / Resources / config / packages / rapsys_air.yaml
index 76da2bdecc5d62700f1ea0ab5a34690a17f263c6..84062fe598f408e337434ac0fea5f12ff6ed77bc 100644 (file)
@@ -43,6 +43,9 @@ rapsys_user:
             url: '%rapsys_air.site.url%'
     #Edit replacement
     edit:
+        field:
+            pseudonym: false
+            slug: false
         route:
             index: 'site.url'
         view:
@@ -75,6 +78,9 @@ rapsys_user:
             context:
     #Register replacement
     register:
+        field:
+            pseudonym: false
+            slug: false
         route:
             index: 'site.url'
             confirm: 'confirm_url'
@@ -290,7 +296,7 @@ services:
         tags: [ 'kernel.event_subscriber' ]
     #Register access denied handler
     Rapsys\AirBundle\Handler\AccessDeniedHandler:
-        arguments: [ '@service_container', '@twig', '@router', '@request_stack', '@translator' ]
+        arguments: [ '@service_container', '@router', '@translator' ]
     #Register air fixtures
     Rapsys\AirBundle\DataFixtures\AirFixtures:
         tags: [ 'doctrine.fixture.orm' ]