update deprecated routing option: requirement -> methods

This commit is contained in:
nobohan 2018-03-28 17:40:09 +02:00
parent 986d10724e
commit 3778012565

View File

@ -13,7 +13,7 @@ report_new:
report_create:
path: /{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/create
defaults: { _controller: "ChillReportBundle:Report:create" }
requirements: { _method: post }
methods: [POST]
report_list:
path: /{_locale}/person/{person_id}/report/list
@ -34,7 +34,7 @@ report_edit:
report_update:
path: /{_locale}/person/{person_id}/report/{report_id}/update
defaults: { _controller: "ChillReportBundle:Report:update" }
requirements: { _method: post|put }
methods: [POST, PUT]
report_export_list:
path: /{_locale}/export/report/cfgroup/{cf_group_id}
@ -49,4 +49,3 @@ report_export_select_type:
export:
order: 100
label: Export reports