Disabled the template_history endpoint

- Removed the code for the template_history endpoint and replaced with a
redirect to the new page so that anyone is forwarded on
- Updated the template to point to the new template_usage page
This commit is contained in:
Richard Chapman
2017-11-24 14:31:41 +00:00
parent 8c915174a3
commit 1681b17fab
2 changed files with 3 additions and 30 deletions

View File

@@ -40,7 +40,7 @@
{% if partials['has_template_statistics'] %}
{{ ajax_block(partials, updates_url, 'template-statistics') }}
{{ show_more(
url_for('.template_history', service_id=current_service.id),
url_for('.template_usage', service_id=current_service.id),
'See templates used by month'
) }}
{% endif %}