fix 'controller' path syntax in routes yaml files

This commit is contained in:
Tchama 2020-07-31 18:22:43 +02:00
parent b4847a6b61
commit 13c69b83f7
9 changed files with 50 additions and 50 deletions

View File

@ -40,16 +40,15 @@ root:
chill_main_homepage_without_locale: chill_main_homepage_without_locale:
path: /homepage path: /homepage
defaults: { controller: ChillMain\DefaultController::indexWithoutLocale } controller: Chill\MainBundle\Controller\DefaultController::indexWithoutLocaleAction
chill_main_homepage: chill_main_homepage:
path: /{_locale}/homepage path: /{_locale}/homepage
defaults: { controller: ChillMain\DefaultController::index } controller: Chill\MainBundle\Controller\DefaultController::indexAction
chill_main_admin_central: chill_main_admin_central:
path: /{_locale}/admin path: /{_locale}/admin
defaults: { controller: ChillMain\AdminController::index } controller: Chill\MainBundle\Controller\AdminController::indexAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -58,25 +57,26 @@ chill_main_admin_central:
chill_main_admin_permissions: chill_main_admin_permissions:
path: /{_locale}/admin/permissions path: /{_locale}/admin/permissions
defaults: { controller: ChillMain\AdminController::indexPermissions } controller: Chill\MainBundle\Controller\AdminController::indexPermissionsAction
chill_main_search: chill_main_search:
path: /{_locale}/search.{_format} path: /{_locale}/search.{_format}
defaults: { controller: ChillMain\SearchController::search, _format: 'html' } controller: Chill\MainBundle\Controller\SearchController::searchAction
format: 'html'
requirements: requirements:
_format: html|json _format: html|json
chill_main_advanced_search: chill_main_advanced_search:
path: /{_locale}/search/advanced/{name} path: /{_locale}/search/advanced/{name}
defaults: { controller: ChillMain\SearchController::advancedSearch } controller: Chill\MainBundle\Controller\SearchController::advancedSearchAction
chill_main_advanced_search_list: chill_main_advanced_search_list:
path: /{_locale}/search/advanced path: /{_locale}/search/advanced
defaults: { controller: ChillMain\SearchController::advancedSearchList } controller: Chill\MainBundle\Controller\SearchController::advancedSearchListAction
login: login:
path: /login path: /login
defaults: { controller: ChillMain\LoginController::login } controller: Chill\MainBundle\Controller\LoginController::loginAction
login_check: login_check:
path: /login_check path: /login_check
@ -86,4 +86,4 @@ logout:
chill_main_test: chill_main_test:
path: /{_locale}/main/test path: /{_locale}/main/test
defaults: { controller: ChillMain\DefaultController::test } controller: Chill\MainBundle\Controller\DefaultController::testAction

View File

@ -1,6 +1,6 @@
admin_center: admin_center:
path: / path: /
defaults: { controller: ChillMain\CenterController::index } controller: Chill\MainBundle\Controller\CenterController::indexAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -9,11 +9,11 @@ admin_center:
admin_center_show: admin_center_show:
path: /{id}/show path: /{id}/show
defaults: { controller: ChillMain\CenterController::show } controller: Chill\MainBundle\Controller\CenterController::showAction
admin_center_new: admin_center_new:
path: /new path: /new
defaults: { controller: ChillMain\CenterController::new } controller: Chill\MainBundle\Controller\CenterController::newAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -22,14 +22,14 @@ admin_center_new:
admin_center_create: admin_center_create:
path: /create path: /create
defaults: { controller: ChillMain\CenterController::create } controller: Chill\MainBundle\Controller\CenterController::createAction
methods: POST methods: POST
admin_center_edit: admin_center_edit:
path: /{id}/edit path: /{id}/edit
defaults: { controller: ChillMain\CenterController::edit } controller: Chill\MainBundle\Controller\CenterController::editAction
admin_center_update: admin_center_update:
path: /{id}/update path: /{id}/update
defaults: { controller: ChillMain\CenterController::update } controller: Chill\MainBundle\Controller\CenterController::updateAction
methods: [POST, PUT] methods: [POST, PUT]

View File

@ -1,17 +1,17 @@
chill_main_export_index: chill_main_export_index:
path: / path: /
defaults: { controller: ChillMain\ExportController::index } controller: Chill\MainBundle\Controller\ExportController::indexAction
chill_main_export_new: chill_main_export_new:
path: /new/{alias} path: /new/{alias}
defaults: { controller: ChillMain\ExportController::new } controller: Chill\MainBundle\Controller\ExportController::newAction
chill_main_export_generate: chill_main_export_generate:
path: /generate/{alias} path: /generate/{alias}
defaults: { controller: ChillMain\ExportController::generate } controller: Chill\MainBundle\Controller\ExportController::generateAction
methods: [GET] methods: [GET]
chill_main_export_download: chill_main_export_download:
path: /download/{alias} path: /download/{alias}
defaults: { controller: ChillMain\ExportController::downloadResult } controller: Chill\MainBundle\Controller\ExportController::downloadResultAction
methods: [ GET ] methods: [ GET ]

View File

@ -1,4 +1,4 @@
change_my_password: change_my_password:
path: /edit path: /edit
defaults: { controller: ChillMain\PasswordController::userPassword } controller: Chill\MainBundle\Controller\PasswordController::userPasswordAction

View File

@ -1,15 +1,15 @@
password_recover: password_recover:
path: /recover path: /recover
defaults: { controller: ChillMain\PasswordController::recover } controller: Chill\MainBundle\Controller\PasswordController::recoverAction
password_request_recover: password_request_recover:
path: /request-recover path: /request-recover
defaults: { controller: ChillMain\PasswordController::requestRecover } controller: Chill\MainBundle\Controller\PasswordController::requestRecoverAction
password_request_recover_confirm: password_request_recover_confirm:
path: /request-confirm path: /request-confirm
defaults: { controller: ChillMain\PasswordController::requestRecoverConfirm } controller: Chill\MainBundle\Controller\PasswordController::requestRecoverConfirmAction
password_request_recover_changed: password_request_recover_changed:
path: /request-changed path: /request-changed
defaults: { controller: ChillMain\PasswordController::changeConfirmed } controller: Chill\MainBundle\Controller\PasswordController::changeConfirmedAction

View File

@ -1,6 +1,6 @@
admin_permissionsgroup: admin_permissionsgroup:
path: / path: /
defaults: { controller: ChillMain\PermissionsGroupController::index } controller: Chill\MainBundle\Controller\PermissionsGroupController::indexAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -9,11 +9,11 @@ admin_permissionsgroup:
admin_permissionsgroup_show: admin_permissionsgroup_show:
path: /{id}/show path: /{id}/show
defaults: { controller: ChillMain\PermissionsGroupController::show } controller: Chill\MainBundle\Controller\PermissionsGroupController::showAction
admin_permissionsgroup_new: admin_permissionsgroup_new:
path: /new path: /new
defaults: { controller: ChillMain\PermissionsGroupController::new } controller: Chill\MainBundle\Controller\PermissionsGroupController::newAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -22,24 +22,24 @@ admin_permissionsgroup_new:
admin_permissionsgroup_create: admin_permissionsgroup_create:
path: /create path: /create
defaults: { controller: ChillMain\PermissionsGroupController::create } controller: Chill\MainBundle\Controller\PermissionsGroupController::createAction
methods: POST methods: POST
admin_permissionsgroup_edit: admin_permissionsgroup_edit:
path: /{id}/edit path: /{id}/edit
defaults: { controller: ChillMain\PermissionsGroupController::edit } controller: Chill\MainBundle\Controller\PermissionsGroupController::editAction
admin_permissionsgroup_update: admin_permissionsgroup_update:
path: /{id}/update path: /{id}/update
defaults: { controller: ChillMain\PermissionsGroupController::update } controller: Chill\MainBundle\Controller\PermissionsGroupController::updateAction
methods: [POST, PUT] methods: [POST, PUT]
admin_permissionsgroup_delete_role_scope: admin_permissionsgroup_delete_role_scope:
path: /{pgid}/delete_link_role_scope/{rsid} path: /{pgid}/delete_link_role_scope/{rsid}
defaults: { controller: ChillMain\PermissionsGroupController::deleteLinkRoleScope } controller: Chill\MainBundle\Controller\PermissionsGroupController::deleteLinkRoleScopeAction
methods: [DELETE] methods: [DELETE]
admin_permissionsgroup_add_role_scope: admin_permissionsgroup_add_role_scope:
path: /{id}/add_link_role_scope path: /{id}/add_link_role_scope
defaults: { controller: ChillMain\PermissionsGroupController::addLinkRoleScope } controller: Chill\MainBundle\Controller\PermissionsGroupController::addLinkRoleScopeAction
methods: [PUT] methods: [PUT]

View File

@ -1,4 +1,4 @@
chill_main_postal_code_search: chill_main_postal_code_search:
path: /search path: /search
defaults: { controller: ChillMain\PostalCodeController::search } controller: Chill\MainBundle\Controller\PostalCodeController::searchAction

View File

@ -1,6 +1,6 @@
admin_scope: admin_scope:
path: / path: /
defaults: { controller: ChillMain\ScopeController::index } controller: Chill\MainBundle\Controller\ScopeController::indexAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -9,11 +9,11 @@ admin_scope:
admin_scope_show: admin_scope_show:
path: /{id}/show path: /{id}/show
defaults: { controller: ChillMain\ScopeController::show } controller: Chill\MainBundle\Controller\ScopeController::showAction
admin_scope_new: admin_scope_new:
path: /new path: /new
defaults: { controller: ChillMain\ScopeController::new } controller: Chill\MainBundle\Controller\ScopeController::newAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -22,14 +22,14 @@ admin_scope_new:
admin_scope_create: admin_scope_create:
path: /create path: /create
defaults: { controller: ChillMain\ScopeController::create } controller: Chill\MainBundle\Controller\ScopeController::createAction
methods: POST methods: POST
admin_scope_edit: admin_scope_edit:
path: /{id}/edit path: /{id}/edit
defaults: { controller: ChillMain\ScopeController::edit } controller: Chill\MainBundle\Controller\ScopeController::editAction
admin_scope_update: admin_scope_update:
path: /{id}/update path: /{id}/update
defaults: { controller: ChillMain\ScopeController::update } controller: Chill\MainBundle\Controller\ScopeController::updateAction
methods: [POST, PUT] methods: [POST, PUT]

View File

@ -1,6 +1,6 @@
admin_user: admin_user:
path: / path: /
defaults: { controller: ChillMain\UserController::index } controller: Chill\MainBundle\Controller\UserController::indexAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -9,11 +9,11 @@ admin_user:
admin_user_show: admin_user_show:
path: /{id}/show path: /{id}/show
defaults: { controller: ChillMain\UserController::show } controller: Chill\MainBundle\Controller\UserController::showAction
admin_user_new: admin_user_new:
path: /new path: /new
defaults: { controller: ChillMain\UserController::new } controller: Chill\MainBundle\Controller\UserController::newAction
options: options:
menus: menus:
admin_permissions: admin_permissions:
@ -22,33 +22,33 @@ admin_user_new:
admin_user_create: admin_user_create:
path: /create path: /create
defaults: { controller: ChillMain\UserController::create } controller: Chill\MainBundle\Controller\UserController::createAction
methods: POST methods: POST
admin_user_edit: admin_user_edit:
path: /{id}/edit path: /{id}/edit
defaults: { controller: ChillMain\UserController::edit } controller: Chill\MainBundle\Controller\UserController::editAction
admin_user_edit_password: admin_user_edit_password:
path: /{id}/edit_password path: /{id}/edit_password
defaults: { controller: ChillMain\UserController::editPassword } controller: Chill\MainBundle\Controller\UserController::editPasswordAction
admin_user_update: admin_user_update:
path: /{id}/update path: /{id}/update
defaults: { controller: ChillMain\UserController::update } controller: Chill\MainBundle\Controller\UserController::updateAction
methods: [POST, PUT] methods: [POST, PUT]
admin_user_update_password: admin_user_update_password:
path: /{id}/update_password path: /{id}/update_password
defaults: { controller: ChillMain\UserController::updatePassword } controller: Chill\MainBundle\Controller\UserController::updatePasswordAction
methods: [POST, PUT] methods: [POST, PUT]
admin_user_delete_group_center: admin_user_delete_group_center:
path: /{uid}/delete_link_groupcenter/{gcid} path: /{uid}/delete_link_groupcenter/{gcid}
defaults: { controller: ChillMain\UserController::deleteLinkGroupCenter } controller: Chill\MainBundle\Controller\UserController::deleteLinkGroupCenterAction
methods: [DELETE] methods: [DELETE]
admin_user_add_group_center: admin_user_add_group_center:
path: /{uid}/add_link_groupcenter path: /{uid}/add_link_groupcenter
defaults: { controller: ChillMain\UserController::addLinkGroupCenter } controller: Chill\MainBundle\Controller\UserController::addLinkGroupCenterAction
methods: [POST] methods: [POST]