add support for re-use of same controller in CRUD

This commit is contained in:
2020-01-14 22:45:30 +01:00
parent 6109520c95
commit ce365b2c41
3 changed files with 8 additions and 7 deletions

View File

@@ -134,10 +134,10 @@ class Configuration implements ConfigurationInterface
->useAttributeAsKey('name')
->arrayPrototype()
->children()
->scalarNode('controller')
->scalarNode('controller_action')
->defaultNull()
->info('the method name to call in the route. Will be set to the action name if left empty.')
->example("'MyBundle\Controller\MyCrudController::action'")
->example("'action'")
->end()
->scalarNode('path')
->defaultNull()