Corrected API URL names

This commit is contained in:
Jeremy Stretch
2017-02-03 16:54:13 -05:00
parent 35f310885e
commit 37f250ddc1
3 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@
</div>
<div class="pull-right">
{% if show_graphs %}
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#graphs_modal" data-obj="{{ site.name }}" data-url="{% url 'dcim-api:site_graphs' pk=site.pk %}" title="Show graphs">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#graphs_modal" data-obj="{{ site.name }}" data-url="{% url 'dcim-api:site-graphs' pk=site.pk %}" title="Show graphs">
<i class="fa fa-signal" aria-hidden="true"></i>
Graphs
</button>