]> Raphaƫl G. Git Repositories - treebundle/blobdiff - config/packages/rapsystree.yaml
Rename resource to asset
[treebundle] / config / packages / rapsystree.yaml
index 3d19c5484b564749fafa1a06fdb86542057e4394..99380c5b392f736f9e67327ebd146595b6d55ac3 100644 (file)
@@ -14,12 +14,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,6 +22,10 @@ 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:
         admin: 'ROLE_ADMIN'
     # Default replacement
     default:
         admin: 'ROLE_ADMIN'
@@ -161,7 +159,7 @@ services:
         arguments: [ '@service_container', '@request_stack', '@router', '@rapsyspack.slugger_util', '@translator', '%rapsystree.locale%', '%rapsystree.languages%' ]
     #Register blog fixture
     Rapsys\TreeBundle\Fixture\TreeFixture:
         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