loads route automatically

route must now be indicated in config.yml under chill_main.routing.resources.

Other bundle may add routes prepending configuration
This commit is contained in:
2015-01-22 17:05:21 +01:00
parent 7871a2e956
commit 8f457e0a63
5 changed files with 157 additions and 0 deletions

View File

@@ -30,6 +30,12 @@ class Configuration implements ConfigurationInterface
->defaultValue(array('fr'))
->prototype('scalar')->end()
->end()
->arrayNode('routing')
->children()
->arrayNode('resources')
->prototype('scalar')->end()
->end()
->end()
->end();
return $treeBuilder;