mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix 'controller' path syntax in routes yaml files
This commit is contained in:
parent
b4847a6b61
commit
13c69b83f7
@ -40,16 +40,15 @@ root:
|
||||
|
||||
chill_main_homepage_without_locale:
|
||||
path: /homepage
|
||||
defaults: { controller: ChillMain\DefaultController::indexWithoutLocale }
|
||||
controller: Chill\MainBundle\Controller\DefaultController::indexWithoutLocaleAction
|
||||
|
||||
chill_main_homepage:
|
||||
path: /{_locale}/homepage
|
||||
defaults: { controller: ChillMain\DefaultController::index }
|
||||
|
||||
controller: Chill\MainBundle\Controller\DefaultController::indexAction
|
||||
|
||||
chill_main_admin_central:
|
||||
path: /{_locale}/admin
|
||||
defaults: { controller: ChillMain\AdminController::index }
|
||||
controller: Chill\MainBundle\Controller\AdminController::indexAction
|
||||
options:
|
||||
menus:
|
||||
admin_permissions:
|
||||
@ -58,25 +57,26 @@ chill_main_admin_central:
|
||||
|
||||
chill_main_admin_permissions:
|
||||
path: /{_locale}/admin/permissions
|
||||
defaults: { controller: ChillMain\AdminController::indexPermissions }
|
||||
controller: Chill\MainBundle\Controller\AdminController::indexPermissionsAction
|
||||
|
||||
chill_main_search:
|
||||
path: /{_locale}/search.{_format}
|
||||
defaults: { controller: ChillMain\SearchController::search, _format: 'html' }
|
||||
controller: Chill\MainBundle\Controller\SearchController::searchAction
|
||||
format: 'html'
|
||||
requirements:
|
||||
_format: html|json
|
||||
|
||||
chill_main_advanced_search:
|
||||
path: /{_locale}/search/advanced/{name}
|
||||
defaults: { controller: ChillMain\SearchController::advancedSearch }
|
||||
controller: Chill\MainBundle\Controller\SearchController::advancedSearchAction
|
||||
|
||||
chill_main_advanced_search_list:
|
||||
path: /{_locale}/search/advanced
|
||||
defaults: { controller: ChillMain\SearchController::advancedSearchList }
|
||||
controller: Chill\MainBundle\Controller\SearchController::advancedSearchListAction
|
||||
|
||||
login:
|
||||
path: /login
|
||||
defaults: { controller: ChillMain\LoginController::login }
|
||||
controller: Chill\MainBundle\Controller\LoginController::loginAction
|
||||
|
||||
login_check:
|
||||
path: /login_check
|
||||
@ -86,4 +86,4 @@ logout:
|
||||
|
||||
chill_main_test:
|
||||
path: /{_locale}/main/test
|
||||
defaults: { controller: ChillMain\DefaultController::test }
|
||||
controller: Chill\MainBundle\Controller\DefaultController::testAction
|
||||
|
@ -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]
|
||||
|
@ -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 ]
|
@ -1,4 +1,4 @@
|
||||
change_my_password:
|
||||
path: /edit
|
||||
defaults: { controller: ChillMain\PasswordController::userPassword }
|
||||
controller: Chill\MainBundle\Controller\PasswordController::userPasswordAction
|
||||
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
@ -1,4 +1,4 @@
|
||||
chill_main_postal_code_search:
|
||||
path: /search
|
||||
defaults: { controller: ChillMain\PostalCodeController::search }
|
||||
controller: Chill\MainBundle\Controller\PostalCodeController::searchAction
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user