show -> view

This commit is contained in:
Marc Ducobu
2014-11-12 12:39:52 +01:00
parent 1ab9b44737
commit b91776c594
4 changed files with 7 additions and 7 deletions

View File

@@ -23,9 +23,9 @@ report_list:
person:
order: 101
label: Report list
report_show:
path: /person/{person_id}/report/{report_id}/show
defaults: { _controller: "ChillReportBundle:Report:show" }
report_view:
path: /person/{person_id}/report/{report_id}/view
defaults: { _controller: "ChillReportBundle:Report:view" }
report_edit:
path: /person/{person_id}/report/{report_id}/edit

View File

@@ -37,7 +37,7 @@
<td>{% if report.date %}{{ report.date|date('d-m-Y') }}{% endif %}</td>
<td>{{ report.cFGroup.getName(app.request.locale) }}</td>
<td>{{ report.scope }}</td>
<td><a href="{{ path('report_show', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'View' | trans }}</a></td>
<td><a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'View' | trans }}</a></td>
<td><a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}">{{ 'Update' | trans }}</a></td>
</tr>
{% endfor %}