fix 'controller' path syntax in routes yaml files

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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