mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 01:08:26 +00:00 
			
		
		
		
	fix deprecations: requirements: _method -> methods
This commit is contained in:
		| @@ -3,7 +3,7 @@ customfield_section: | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:Admin:index" } | ||||
|     options: | ||||
|         menus: | ||||
|             admin_section:  | ||||
|             admin_section: | ||||
|                 order: 1000 | ||||
|                 label: "Custom fields configuration" | ||||
|                 icons: ['asterisk'] | ||||
| @@ -15,7 +15,7 @@ customfield_new: | ||||
| customfield_create: | ||||
|     path:     /{_locale}/admin/customfield/create | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomField:create" } | ||||
|     requirements: { _method: post } | ||||
|     methods:  [POST] | ||||
|  | ||||
| customfield_edit: | ||||
|     path:     /{_locale}/admin/customfield/{id}/edit | ||||
| @@ -24,4 +24,4 @@ customfield_edit: | ||||
| customfield_update: | ||||
|     path:     /{_locale}/admin/customfield/{id}/update | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomField:update" } | ||||
|     requirements: { _method: post|put } | ||||
|     methods:  [POST, PUT] | ||||
|   | ||||
| @@ -3,14 +3,14 @@ customfieldsgroup: | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomFieldsGroup:index" } | ||||
|     options: | ||||
|         menus: | ||||
|             admin_custom_fields:  | ||||
|             admin_custom_fields: | ||||
|                 order: 1010 | ||||
|                 label: "CustomFields Groups" | ||||
|  | ||||
| customfieldsgroup_show: | ||||
|     path:     /{_locale}/admin/customfieldsgroup/{id}/show | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomFieldsGroup:show" } | ||||
|      | ||||
|  | ||||
| customfieldsgroup_makedefault: | ||||
|     path:     /{_locale}/admin/customfieldsgroup/make_default | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomFieldsGroup:makeDefault" } | ||||
| @@ -22,7 +22,7 @@ customfieldsgroup_new: | ||||
| customfieldsgroup_create: | ||||
|     path:     /{_locale}/admin/customfieldsgroup/create | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomFieldsGroup:create" } | ||||
|     requirements: { _method: post } | ||||
|     methods:  POST | ||||
|  | ||||
| customfieldsgroup_edit: | ||||
|     path:     /{_locale}/admin/customfieldsgroup/{id}/edit | ||||
| @@ -31,9 +31,9 @@ customfieldsgroup_edit: | ||||
| customfieldsgroup_update: | ||||
|     path:     /{_locale}/admin/customfieldsgroup/{id}/update | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomFieldsGroup:update" } | ||||
|     requirements: { _method: post|put } | ||||
|     methods:  [POST, PUT] | ||||
|  | ||||
| customfieldsgroup_delete: | ||||
|     path:     /{_locale}/admin/customfieldsgroup/{id}/delete | ||||
|     defaults: { _controller: "ChillCustomFieldsBundle:CustomFieldsGroup:delete" } | ||||
|     requirements: { _method: post|delete } | ||||
|     methods:  [POST, DELETE] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user