From 3be60b1e584a8d80172c60919698340d229c99c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sat, 2 Nov 2024 04:59:33 +0100 Subject: [PATCH] Remove roots replaced by albums Replace contact Pass slugger extra argument to fixture --- config/packages/rapsystree.yaml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/config/packages/rapsystree.yaml b/config/packages/rapsystree.yaml index 3d19c54..99380c5 100644 --- a/config/packages/rapsystree.yaml +++ b/config/packages/rapsystree.yaml @@ -14,12 +14,6 @@ rapsystree: 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: @@ -28,6 +22,10 @@ rapsysuser: 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' @@ -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' ] + arguments: [ '@service_container', '@rapsyspack.slugger_util' ] tags: [ 'doctrine.fixture.orm' ] # Twig Configuration -- 2.41.1