summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/graphs/show.html.haml')
-rw-r--r--app/views/projects/graphs/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/graphs/show.html.haml b/app/views/projects/graphs/show.html.haml
index a985b442b2d..8777e0d8fcd 100644
--- a/app/views/projects/graphs/show.html.haml
+++ b/app/views/projects/graphs/show.html.haml
@@ -32,7 +32,7 @@
:javascript
$.ajax({
type: "GET",
- url: location.href,
+ url: "#{namespace_project_graph_path(@project.namespace, @project, current_ref, :json)}",
dataType: "json",
success: function (data) {
var graph = new ContributorsStatGraph();