mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-11-04 03:08:25 +00:00 
			
		
		
		
	sf4, replace 'controller' path syntax in routes yaml files
This commit is contained in:
		@@ -34,22 +34,22 @@ chill_password_recover:
 | 
			
		||||
root:
 | 
			
		||||
    path: /
 | 
			
		||||
    defaults:
 | 
			
		||||
        _controller: FrameworkBundle:Redirect:urlRedirect
 | 
			
		||||
        controller: Framework\RedirectController::urlRedirect
 | 
			
		||||
        path: /homepage
 | 
			
		||||
        permanent: false
 | 
			
		||||
 | 
			
		||||
chill_main_homepage_without_locale:
 | 
			
		||||
    path:  /homepage
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Default:indexWithoutLocale }
 | 
			
		||||
    defaults: { controller: ChillMain\DefaultController::indexWithoutLocale }
 | 
			
		||||
 | 
			
		||||
chill_main_homepage:
 | 
			
		||||
    path:  /{_locale}/homepage
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Default:index }
 | 
			
		||||
    defaults: { controller: ChillMain\DefaultController::index }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
chill_main_admin_central:
 | 
			
		||||
    path: /{_locale}/admin
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Admin:index }
 | 
			
		||||
    defaults: { controller: ChillMain\AdminController::index }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -58,25 +58,25 @@ chill_main_admin_central:
 | 
			
		||||
 | 
			
		||||
chill_main_admin_permissions:
 | 
			
		||||
    path: /{_locale}/admin/permissions
 | 
			
		||||
    defaults: {_controller: ChillMainBundle:Admin:indexPermissions }
 | 
			
		||||
    defaults: { controller: ChillMain\AdminController::indexPermissions }
 | 
			
		||||
 | 
			
		||||
chill_main_search:
 | 
			
		||||
    path: /{_locale}/search.{_format}
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Search:search, _format: 'html' }
 | 
			
		||||
    defaults: { controller: ChillMain\SearchController::search, _format: 'html' }
 | 
			
		||||
    requirements:
 | 
			
		||||
        _format: html|json
 | 
			
		||||
 | 
			
		||||
chill_main_advanced_search:
 | 
			
		||||
    path: /{_locale}/search/advanced/{name}
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Search:advancedSearch }
 | 
			
		||||
    defaults: { controller: ChillMain\SearchController::advancedSearch }
 | 
			
		||||
 | 
			
		||||
chill_main_advanced_search_list:
 | 
			
		||||
    path: /{_locale}/search/advanced
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Search:advancedSearchList }
 | 
			
		||||
    defaults: { controller: ChillMain\SearchController::advancedSearchList }
 | 
			
		||||
 | 
			
		||||
login:
 | 
			
		||||
    path:     /login
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Login:login }
 | 
			
		||||
    defaults: { controller: ChillMain\LoginController::login }
 | 
			
		||||
 | 
			
		||||
login_check:
 | 
			
		||||
    path:    /login_check
 | 
			
		||||
@@ -86,4 +86,4 @@ logout:
 | 
			
		||||
 | 
			
		||||
chill_main_test:
 | 
			
		||||
    path: /{_locale}/main/test
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Default:test }
 | 
			
		||||
    defaults: { controller: ChillMain\DefaultController::test }
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
admin_center:
 | 
			
		||||
    path:     /
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Center:index" }
 | 
			
		||||
    defaults: { controller: ChillMain\CenterController::index }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -9,11 +9,11 @@ admin_center:
 | 
			
		||||
 | 
			
		||||
admin_center_show:
 | 
			
		||||
    path:     /{id}/show
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Center:show" }
 | 
			
		||||
    defaults: { controller: ChillMain\CenterController::show }
 | 
			
		||||
 | 
			
		||||
admin_center_new:
 | 
			
		||||
    path:     /new
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Center:new" }
 | 
			
		||||
    defaults: { controller: ChillMain\CenterController::new }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -22,14 +22,14 @@ admin_center_new:
 | 
			
		||||
 | 
			
		||||
admin_center_create:
 | 
			
		||||
    path:     /create
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Center:create" }
 | 
			
		||||
    defaults: { controller: ChillMain\CenterController::create }
 | 
			
		||||
    methods:  POST
 | 
			
		||||
 | 
			
		||||
admin_center_edit:
 | 
			
		||||
    path:     /{id}/edit
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Center:edit" }
 | 
			
		||||
    defaults: { controller: ChillMain\CenterController::edit }
 | 
			
		||||
 | 
			
		||||
admin_center_update:
 | 
			
		||||
    path:     /{id}/update
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Center:update" }
 | 
			
		||||
    defaults: { controller: ChillMain\CenterController::update }
 | 
			
		||||
    methods:  [POST, PUT]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,17 +1,17 @@
 | 
			
		||||
chill_main_export_index:
 | 
			
		||||
    path: /
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Export:index }
 | 
			
		||||
    defaults: { controller: ChillMain\ExportController::index }
 | 
			
		||||
                
 | 
			
		||||
chill_main_export_new:
 | 
			
		||||
    path: /new/{alias}
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Export:new }
 | 
			
		||||
    defaults: { controller: ChillMain\ExportController::new }
 | 
			
		||||
    
 | 
			
		||||
chill_main_export_generate:
 | 
			
		||||
    path: /generate/{alias}
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Export:generate }
 | 
			
		||||
    defaults: { controller: ChillMain\ExportController::generate }
 | 
			
		||||
    methods: [GET]
 | 
			
		||||
 | 
			
		||||
chill_main_export_download:
 | 
			
		||||
    path: /download/{alias}
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Export:downloadResult }
 | 
			
		||||
    defaults: { controller: ChillMain\ExportController::downloadResult }
 | 
			
		||||
    methods: [ GET ]
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
change_my_password:
 | 
			
		||||
    path:     /edit
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Password:userPassword }
 | 
			
		||||
    defaults: { controller: ChillMain\PasswordController::userPassword }
 | 
			
		||||
    
 | 
			
		||||
 
 | 
			
		||||
@@ -1,15 +1,15 @@
 | 
			
		||||
password_recover:
 | 
			
		||||
    path:     /recover
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Password:recover }
 | 
			
		||||
    defaults: { controller: ChillMain\PasswordController::recover }
 | 
			
		||||
    
 | 
			
		||||
password_request_recover:
 | 
			
		||||
    path:     /request-recover
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Password:requestRecover }
 | 
			
		||||
    defaults: { controller: ChillMain\PasswordController::requestRecover }
 | 
			
		||||
    
 | 
			
		||||
password_request_recover_confirm:
 | 
			
		||||
    path:     /request-confirm
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Password:requestRecoverConfirm }
 | 
			
		||||
    defaults: { controller: ChillMain\PasswordController::requestRecoverConfirm }
 | 
			
		||||
    
 | 
			
		||||
password_request_recover_changed:
 | 
			
		||||
    path:     /request-changed
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:Password:changeConfirmed }
 | 
			
		||||
    defaults: { controller: ChillMain\PasswordController::changeConfirmed }
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
admin_permissionsgroup:
 | 
			
		||||
    path:     /
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:index" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::index }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -9,11 +9,11 @@ admin_permissionsgroup:
 | 
			
		||||
 | 
			
		||||
admin_permissionsgroup_show:
 | 
			
		||||
    path:     /{id}/show
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:show" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::show }
 | 
			
		||||
 | 
			
		||||
admin_permissionsgroup_new:
 | 
			
		||||
    path:     /new
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:new" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::new }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -22,24 +22,24 @@ admin_permissionsgroup_new:
 | 
			
		||||
 | 
			
		||||
admin_permissionsgroup_create:
 | 
			
		||||
    path:     /create
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:create" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::create }
 | 
			
		||||
    methods:  POST
 | 
			
		||||
 | 
			
		||||
admin_permissionsgroup_edit:
 | 
			
		||||
    path:     /{id}/edit
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:edit" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::edit }
 | 
			
		||||
 | 
			
		||||
admin_permissionsgroup_update:
 | 
			
		||||
    path:     /{id}/update
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:update" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::update }
 | 
			
		||||
    methods:  [POST, PUT]
 | 
			
		||||
    
 | 
			
		||||
admin_permissionsgroup_delete_role_scope:
 | 
			
		||||
    path:     /{pgid}/delete_link_role_scope/{rsid}
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:deleteLinkRoleScope" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::deleteLinkRoleScope }
 | 
			
		||||
    methods: [DELETE]
 | 
			
		||||
    
 | 
			
		||||
admin_permissionsgroup_add_role_scope:
 | 
			
		||||
    path:     /{id}/add_link_role_scope
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:PermissionsGroup:addLinkRoleScope" }
 | 
			
		||||
    defaults: { controller: ChillMain\PermissionsGroupController::addLinkRoleScope }
 | 
			
		||||
    methods: [PUT]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
chill_main_postal_code_search:
 | 
			
		||||
    path: /search
 | 
			
		||||
    defaults: { _controller: ChillMainBundle:PostalCode:search }
 | 
			
		||||
    defaults: { controller: ChillMain\PostalCodeController::search }
 | 
			
		||||
    
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
admin_scope:
 | 
			
		||||
    path:     /
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Scope:index" }
 | 
			
		||||
    defaults: { controller: ChillMain\ScopeController::index }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -9,11 +9,11 @@ admin_scope:
 | 
			
		||||
 | 
			
		||||
admin_scope_show:
 | 
			
		||||
    path:     /{id}/show
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Scope:show" }
 | 
			
		||||
    defaults: { controller: ChillMain\ScopeController::show }
 | 
			
		||||
 | 
			
		||||
admin_scope_new:
 | 
			
		||||
    path:     /new
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Scope:new" }
 | 
			
		||||
    defaults: { controller: ChillMain\ScopeController::new }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -22,14 +22,14 @@ admin_scope_new:
 | 
			
		||||
 | 
			
		||||
admin_scope_create:
 | 
			
		||||
    path:     /create
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Scope:create" }
 | 
			
		||||
    defaults: { controller: ChillMain\ScopeController::create }
 | 
			
		||||
    methods:  POST
 | 
			
		||||
 | 
			
		||||
admin_scope_edit:
 | 
			
		||||
    path:     /{id}/edit
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Scope:edit" }
 | 
			
		||||
    defaults: { controller: ChillMain\ScopeController::edit }
 | 
			
		||||
 | 
			
		||||
admin_scope_update:
 | 
			
		||||
    path:     /{id}/update
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:Scope:update" }
 | 
			
		||||
    defaults: { controller: ChillMain\ScopeController::update }
 | 
			
		||||
    methods:  [POST, PUT]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
admin_user:
 | 
			
		||||
    path:     /
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:index" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::index }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -9,11 +9,11 @@ admin_user:
 | 
			
		||||
 | 
			
		||||
admin_user_show:
 | 
			
		||||
    path:     /{id}/show
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:show" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::show }
 | 
			
		||||
 | 
			
		||||
admin_user_new:
 | 
			
		||||
    path:     /new
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:new" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::new }
 | 
			
		||||
    options:
 | 
			
		||||
        menus:
 | 
			
		||||
            admin_permissions:
 | 
			
		||||
@@ -22,33 +22,33 @@ admin_user_new:
 | 
			
		||||
 | 
			
		||||
admin_user_create:
 | 
			
		||||
    path:     /create
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:create" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::create }
 | 
			
		||||
    methods:  POST
 | 
			
		||||
 | 
			
		||||
admin_user_edit:
 | 
			
		||||
    path:     /{id}/edit
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:edit" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::edit }
 | 
			
		||||
    
 | 
			
		||||
admin_user_edit_password:
 | 
			
		||||
    path:     /{id}/edit_password
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:editPassword" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::editPassword }
 | 
			
		||||
 | 
			
		||||
admin_user_update:
 | 
			
		||||
    path:     /{id}/update
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:update" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::update }
 | 
			
		||||
    methods:  [POST, PUT]
 | 
			
		||||
    
 | 
			
		||||
admin_user_update_password:
 | 
			
		||||
    path:     /{id}/update_password
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:updatePassword" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::updatePassword }
 | 
			
		||||
    methods:  [POST, PUT]
 | 
			
		||||
    
 | 
			
		||||
admin_user_delete_group_center:
 | 
			
		||||
    path:     /{uid}/delete_link_groupcenter/{gcid}
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:deleteLinkGroupCenter" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::deleteLinkGroupCenter }
 | 
			
		||||
    methods: [DELETE]
 | 
			
		||||
    
 | 
			
		||||
admin_user_add_group_center:
 | 
			
		||||
    path:     /{uid}/add_link_groupcenter
 | 
			
		||||
    defaults: { _controller: "ChillMainBundle:User:addLinkGroupCenter" }
 | 
			
		||||
    defaults: { controller: ChillMain\UserController::addLinkGroupCenter }
 | 
			
		||||
    methods: [POST]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user