mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
update deprecated routing option: requirement -> methods
This commit is contained in:
parent
986d10724e
commit
3778012565
@ -10,12 +10,12 @@ report_new:
|
|||||||
path: /{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/new
|
path: /{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/new
|
||||||
defaults: { _controller: "ChillReportBundle:Report:new" }
|
defaults: { _controller: "ChillReportBundle:Report:new" }
|
||||||
|
|
||||||
report_create:
|
report_create:
|
||||||
path: /{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/create
|
path: /{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/create
|
||||||
defaults: { _controller: "ChillReportBundle:Report:create" }
|
defaults: { _controller: "ChillReportBundle:Report:create" }
|
||||||
requirements: { _method: post }
|
methods: [POST]
|
||||||
|
|
||||||
report_list:
|
report_list:
|
||||||
path: /{_locale}/person/{person_id}/report/list
|
path: /{_locale}/person/{person_id}/report/list
|
||||||
defaults: { _controller: "ChillReportBundle:Report:list" }
|
defaults: { _controller: "ChillReportBundle:Report:list" }
|
||||||
options:
|
options:
|
||||||
@ -34,7 +34,7 @@ report_edit:
|
|||||||
report_update:
|
report_update:
|
||||||
path: /{_locale}/person/{person_id}/report/{report_id}/update
|
path: /{_locale}/person/{person_id}/report/{report_id}/update
|
||||||
defaults: { _controller: "ChillReportBundle:Report:update" }
|
defaults: { _controller: "ChillReportBundle:Report:update" }
|
||||||
requirements: { _method: post|put }
|
methods: [POST, PUT]
|
||||||
|
|
||||||
report_export_list:
|
report_export_list:
|
||||||
path: /{_locale}/export/report/cfgroup/{cf_group_id}
|
path: /{_locale}/export/report/cfgroup/{cf_group_id}
|
||||||
@ -49,4 +49,3 @@ report_export_select_type:
|
|||||||
export:
|
export:
|
||||||
order: 100
|
order: 100
|
||||||
label: Export reports
|
label: Export reports
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user