]> Raphaƫl G. Git Repositories - treebundle/blob - Resources/config/packages/rapsystree.yaml
4639e7b14bd645bcf3d2a39a5cf1502915f416db
[treebundle] / Resources / config / packages / rapsystree.yaml
1 # Parameters configuration
2 rapsystree:
3
4 # Services configuration
5 services:
6 # Register tree controller
7 Rapsys\TreeBundle\Controller\TreeController:
8 arguments: [ '@service_container', '@router', '@request_stack', '@translator', '@twig' ]
9 tags: [ 'controller.service_arguments' ]
10
11 # Twig Configuration
12 twig:
13 # Enforce debug
14 #auto_reload: ~
15 debug: '%kernel.debug%'
16 #strict_variables: '%kernel.debug%'
17
18 # Disable cache
19 # XXX: enable forced regeneration of css and js at each page load
20 cache: false
21
22 # Fix form layout for css
23 # XXX: @RapsysTree is a shortcut to vendor/rapsys/treebundle/Resources/views directory here
24 #form_theme: [ '@RapsysTree/form/form_div_layout.html.twig' ]
25
26 # Set twig paths
27 paths:
28 # Required by email.image(site_logo) directive
29 # XXX: Allow twig to resolve @RapsysTree/png/logo.png in vendor/rapsys/treebundle/Resources/public/png/logo.png
30 '%kernel.project_dir%/vendor/rapsys/treebundle/Resources/public': 'RapsysTree'
31 # Override default exception controller
32 #exception_controller: Rapsys\TreeBundle\Controller\ErrorController::preview