Append .json onto graph request URL (!5136)
This commit is contained in:
parent
ae9f0ca818
commit
010477edc0
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue