Updating report

This commit is contained in:
Marc Ducobu
2014-11-11 16:07:44 +01:00
parent bdbcdd2db9
commit 2ae19eba39
6 changed files with 70 additions and 62 deletions

View File

@@ -23,11 +23,15 @@ report_list:
person:
order: 101
label: Report list
report_show:
path: /person/{person_id}/report/{id}/show
path: /person/{person_id}/report/{report_id}/show
defaults: { _controller: "ChillReportBundle:Report:show" }
cl_custom_fields_report:
resource: "@ChillReportBundle/Resources/config/routing/report.yml"
prefix: /report
report_edit:
path: /person/{person_id}/report/{report_id}/edit
defaults: { _controller: "ChillReportBundle:Report:edit" }
report_update:
path: /person/{person_id}/report/{report_id}/update
defaults: { _controller: "ChillReportBundle:Report:update" }
requirements: { _method: post|put }

View File

@@ -1,17 +0,0 @@
report:
path: /
defaults: { _controller: "ChillReportBundle:Report:index" }
report_edit:
path: /{id}/edit
defaults: { _controller: "ChillReportBundle:Report:edit" }
report_update:
path: /{id}/update
defaults: { _controller: "ChillReportBundle:Report:update" }
requirements: { _method: post|put }
report_delete:
path: /{id}/delete
defaults: { _controller: "ChillReportBundle:Report:delete" }
requirements: { _method: post|delete }