diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-08-21 10:14:31 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-09-01 11:49:17 +0200 |
commit | 0cbc19f9449ffc6e624c0b7e22ea837468658377 (patch) | |
tree | e48375611c09c38a14f45adecbe31309f308798b /app/views/projects/network | |
parent | 174c00cf2c026a3bdc61d94b45195a5e5c99202f (diff) | |
download | gitlab-ce-0cbc19f9449ffc6e624c0b7e22ea837468658377.tar.gz |
Awesome shortcuts for GitLab
Diffstat (limited to 'app/views/projects/network')
-rw-r--r-- | app/views/projects/network/show.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/network/show.html.haml b/app/views/projects/network/show.html.haml index 5310822823d..8356bef28b0 100644 --- a/app/views/projects/network/show.html.haml +++ b/app/views/projects/network/show.html.haml @@ -15,9 +15,10 @@ = spinner nil, true :javascript - new Network({ + network_graph = new Network({ url: '#{project_network_path(@project, @ref, @options.merge(format: :json))}', commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}', ref: '#{@ref}', commit_id: '#{@commit.id}' }) + new ShortcutsNetwork(network_graph.branch_graph) |