diff options
author | Phil Hughes <me@iamphill.com> | 2016-07-07 12:41:57 +0100 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-08-02 03:32:28 +0200 |
commit | 010477edc034330dfe4bce7b4dfac252e1fb0a25 (patch) | |
tree | 03240ff59702ecbcc9d73004177a384e203ed1d2 /app/views/projects/graphs | |
parent | ae9f0ca818b203df3bf61e5598c4e7e63c4c2d70 (diff) | |
download | gitlab-ce-010477edc034330dfe4bce7b4dfac252e1fb0a25.tar.gz |
Append .json onto graph request URL (!5136)
Diffstat (limited to 'app/views/projects/graphs')
-rw-r--r-- | app/views/projects/graphs/show.html.haml | 2 |
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(); |