]> Raphaƫl G. Git Repositories - treebundle/blobdiff - config/packages/rapsystree.yaml
Remove document route
[treebundle] / config / packages / rapsystree.yaml
index 3d19c5484b564749fafa1a06fdb86542057e4394..417dcf1e11d07b5264db01d99360b52bfe49c50c 100644 (file)
@@ -1,4 +1,5 @@
 # Parameters configuration
 # Parameters configuration
+#TODO: move veranda project related stuff (name, mail, locales, logo, title, class replacement, etc) in a veranda/config/packages/veranda.yaml instead of this bundle
 parameters:
 
 # RapsysTree configuration
 parameters:
 
 # RapsysTree configuration
@@ -14,12 +15,6 @@ rapsystree:
     logo:
         alt: 'Rapsys photo''s logo'
     title: 'Rapsys Photo'
     logo:
         alt: 'Rapsys photo''s logo'
     title: 'Rapsys Photo'
-    roots:
-        Dcim: '/var/www/dcim'
-        Doc: '/var/www/doc'
-        Photo: '/var/www/photo'
-        Tango: '/var/www/tango'
-        Video: '/var/www/video'
 
 # RapsysUser configuration
 rapsysuser:
 
 # RapsysUser configuration
 rapsysuser:
@@ -28,11 +23,14 @@ rapsysuser:
         group: 'Rapsys\TreeBundle\Entity\Group'
         civility: 'Rapsys\TreeBundle\Entity\Civility'
         user: 'Rapsys\TreeBundle\Entity\User'
         group: 'Rapsys\TreeBundle\Entity\Group'
         civility: 'Rapsys\TreeBundle\Entity\Civility'
         user: 'Rapsys\TreeBundle\Entity\User'
+    # Contact replacement
+    contact:
+        address: '%rapsystree.contact.address%'
+        name: '%rapsystree.contact.name%'
     # Default replacement
     default:
     # Default replacement
     default:
-        admin: 'ROLE_ADMIN'
-        civility: 'Mister'
         group: [ 'User' ]
         group: [ 'User' ]
+        locales: '%rapsystree.locales%'
         languages: '%rapsystree.languages%'
     # Default context
     context:
         languages: '%rapsystree.languages%'
     # Default context
     context:
@@ -154,14 +152,14 @@ security:
 services:
     # Register tree controller
     Rapsys\TreeBundle\Controller\TreeController:
 services:
     # Register tree controller
     Rapsys\TreeBundle\Controller\TreeController:
-        arguments: [ '@service_container', '@router', '@request_stack', '@translator', '@twig' ]
+        arguments: [ '@security.authorization_checker', '@service_container', '@doctrine', '@rapsyspack.facebook_util', '@router', '@security.helper', '@request_stack', '@translator', '@twig' ]
         tags: [ 'controller.service_arguments' ]
     # Register tree repository factory
     Rapsys\TreeBundle\Factory:
         arguments: [ '@service_container', '@request_stack', '@router', '@rapsyspack.slugger_util', '@translator', '%rapsystree.locale%', '%rapsystree.languages%' ]
     #Register blog fixture
     Rapsys\TreeBundle\Fixture\TreeFixture:
         tags: [ 'controller.service_arguments' ]
     # Register tree repository factory
     Rapsys\TreeBundle\Factory:
         arguments: [ '@service_container', '@request_stack', '@router', '@rapsyspack.slugger_util', '@translator', '%rapsystree.locale%', '%rapsystree.languages%' ]
     #Register blog fixture
     Rapsys\TreeBundle\Fixture\TreeFixture:
-        arguments: [ '@service_container' ]
+        arguments: [ '@service_container', '@rapsyspack.slugger_util' ]
         tags: [ 'doctrine.fixture.orm' ]
 
 # Twig Configuration
         tags: [ 'doctrine.fixture.orm' ]
 
 # Twig Configuration