]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/packages/rapsys_air.yaml
Add session edit form
[airbundle] / Resources / config / packages / rapsys_air.yaml
index 93f6b474362c7beda02b13d1eb0b0a2457587389..b5676111089ae82d444060d7c7ad5b7c9cb2005f 100644 (file)
@@ -16,6 +16,10 @@ rapsys_user:
         group: 'Rapsys\AirBundle\Entity\Group'
         title: 'Rapsys\AirBundle\Entity\Title'
         user: 'Rapsys\AirBundle\Entity\User'
+    #Default replacement
+    default:
+        group: [ 'Senior' ]
+        title: 'Mister'
     #Route replacement
     route:
         index:
@@ -267,6 +271,15 @@ services:
     Rapsys\AirBundle\Form\ApplicationType:
         arguments: [ '@doctrine', '@translator' ]
         tags: [ 'form.type' ]
+    Rapsys\AirBundle\Form\SessionEditType:
+        arguments: [ '@doctrine', '@translator' ]
+        tags: [ 'form.type' ]
+    Rapsys\AirBundle\Command\AttributeCommand:
+        arguments: [ '@doctrine' ]
+        tags: [ 'console.command' ]
+    Rapsys\AirBundle\Command\WeatherCommand:
+        arguments: [ '@doctrine' ]
+        tags: [ 'console.command' ]
 
 #Twig Configuration
 twig: