#index: # path: / # controller: App\Controller\DefaultController::index # #index: # path: / # controller: App\Controller\DefaultController::index # #hello: # path: /hello/{name} # controller: App\Controller\DefaultController::hello # #hello-json: # path: /json/{name} # controller: App\Controller\DefaultController::helloJson # # Routing is never automatically imported in Symfony. If you want to include the # routes from any bundle, then they must be manually imported from somewhere in # your application (e.g. config/routes.yaml). demo_controllers_annotations: resource: '@OsinetDemoBundle/Controller/' type: 'annotation' prefix: 'demo' demo_controllers_file: resource: '@OsinetDemoBundle/Resources/config/routes.yml' type: 'yaml' prefix: 'demo'