diff options
author | winniehell <git@winniehell.de> | 2016-07-31 22:52:44 +0200 |
---|---|---|
committer | winniehell <git@winniehell.de> | 2016-08-02 03:32:28 +0200 |
commit | e1832914df2eccea1730586b26e759b562e8b7c1 (patch) | |
tree | 12832bec15c046c9bd6593c5c1202e9b63bfd6a4 /app | |
parent | 010477edc034330dfe4bce7b4dfac252e1fb0a25 (diff) | |
download | gitlab-ce-e1832914df2eccea1730586b26e759b562e8b7c1.tar.gz |
Allow branch names ending with .json for graph and network page (!5579)
Diffstat (limited to 'app')
-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 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(); |