Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-Report
Commits
37780125
Commit
37780125
authored
Mar 28, 2018
by
Julien Minet
Browse files
update deprecated routing option: requirement -> methods
parent
986d1072
Pipeline
#44776
passed with stages
in 7 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Resources/config/routing.yml
View file @
37780125
...
...
@@ -10,12 +10,12 @@ report_new:
path
:
/{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/new
defaults
:
{
_controller
:
"
ChillReportBundle:Report:new"
}
report_create
:
report_create
:
path
:
/{_locale}/person/{person_id}/report/cfgroup/{cf_group_id}/create
defaults
:
{
_controller
:
"
ChillReportBundle:Report:create"
}
requirements
:
{
_
method
:
post
}
method
s
:
[
POST
]
report_list
:
report_list
:
path
:
/{_locale}/person/{person_id}/report/list
defaults
:
{
_controller
:
"
ChillReportBundle:Report:list"
}
options
:
...
...
@@ -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
}
method
s
:
[
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
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment