chill_main_controllers: resource: '../Controller/' type: annotation chill_main_admin_permissionsgroup: resource: "@ChillMainBundle/config/routes/permissionsgroup.yaml" prefix: "{_locale}/admin/permissionsgroup" chill_main_admin_scope: resource: "@ChillMainBundle/config/routes/scope.yaml" prefix: "{_locale}/admin/scope" chill_main_admin: resource: "@ChillMainBundle/config/routes/center.yaml" prefix: "{_locale}/admin/center" chill_main_exports: resource: "@ChillMainBundle/config/routes/exports.yaml" prefix: "{_locale}/exports" chill_postal_code: resource: "@ChillMainBundle/config/routes/postal-code.yaml" prefix: "{_locale}/postal-code" chill_password: resource: "@ChillMainBundle/config/routes/password.yaml" prefix: "{_locale}/password" chill_password_recover: resource: "@ChillMainBundle/config/routes/password_recover.yaml" prefix: "public/{_locale}/password" chill_main_notification: resource: "@ChillMainBundle/config/routes/notification.yaml" prefix: "{_locale}/notification" chill_crud: resource: "@ChillMainBundle" type: CRUD root: path: / controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction defaults: path: /homepage permanent: false chill_main_homepage_without_locale: path: /homepage controller: Chill\MainBundle\Controller\DefaultController::indexWithoutLocaleAction chill_main_homepage: path: /{_locale}/homepage controller: Chill\MainBundle\Controller\DefaultController::indexAction # chill_main_admin_central: # path: /{_locale}/admin # controller: Chill\MainBundle\Controller\AdminController::indexAction # options: # menus: # admin_permissions: # order: 0 # label: Main admin menu # chill_main_admin_permissions: path: /{_locale}/admin/permissions controller: Chill\MainBundle\Controller\AdminController::indexPermissionsAction chill_main_admin_locations: path: /{_locale}/admin/locations controller: Chill\MainBundle\Controller\AdminController::indexLocationsAction chill_main_search: path: /{_locale}/search.{_format} controller: Chill\MainBundle\Controller\SearchController::searchAction format: 'html' # sf4 check requirements: _format: html|json chill_main_search_global: path: '/api/1.0/search.{_format}' controller: Chill\MainBundle\Controller\SearchController::searchApi format: 'json' requirements: _format: 'json' chill_main_advanced_search: path: /{_locale}/search/advanced/{name} controller: Chill\MainBundle\Controller\SearchController::advancedSearchAction chill_main_advanced_search_list: path: /{_locale}/search/advanced controller: Chill\MainBundle\Controller\SearchController::advancedSearchListAction login: path: /login controller: Chill\MainBundle\Controller\LoginController::loginAction login_check: path: /login_check logout: path: /logout