Append .json onto graph request URL (!5136)

This commit is contained in:
Phil Hughes 2016-07-07 12:41:57 +01:00 committed by winniehell
parent ae9f0ca818
commit 010477edc0

View file

@ -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();