summaryrefslogtreecommitdiff
path: root/app/views/projects/graphs
diff options
context:
space:
mode:
authorwinniehell <git@winniehell.de>2016-07-31 22:52:44 +0200
committerwinniehell <git@winniehell.de>2016-08-02 03:32:28 +0200
commite1832914df2eccea1730586b26e759b562e8b7c1 (patch)
tree12832bec15c046c9bd6593c5c1202e9b63bfd6a4 /app/views/projects/graphs
parent010477edc034330dfe4bce7b4dfac252e1fb0a25 (diff)
downloadgitlab-ce-e1832914df2eccea1730586b26e759b562e8b7c1.tar.gz
Allow branch names ending with .json for graph and network page (!5579)
Diffstat (limited to 'app/views/projects/graphs')
-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 8777e0d8fcd..ac5f792d140 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: "#{namespace_project_graph_path(@project.namespace, @project, current_ref, :json)}",
+ url: "#{namespace_project_graph_path(@project.namespace, @project, current_ref, format: :json)}",
dataType: "json",
success: function (data) {
var graph = new ContributorsStatGraph();