Commit 010477ed authored by Phil Hughes's avatar Phil Hughes Committed by winniehell

Append .json onto graph request URL (!5136)

parent ae9f0ca8
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
:javascript :javascript
$.ajax({ $.ajax({
type: "GET", type: "GET",
url: location.href, url: "#{namespace_project_graph_path(@project.namespace, @project, current_ref, :json)}",
dataType: "json", dataType: "json",
success: function (data) { success: function (data) {
var graph = new ContributorsStatGraph(); var graph = new ContributorsStatGraph();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment