Commit 097e6053efd973c70c4995784a1abc30e9384008
1 parent
3ce79e06
Exists in
master
and in
4 other branches
Fix for broken commit_url in graph
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/views/projects/graph.html.haml
1 | 1 | %h3.page_title Project Network Graph |
2 | 2 | %br |
3 | + | |
3 | 4 | .graph_holder |
4 | 5 | %h4 |
5 | 6 | %small You can move around the graph by using the arrow keys. |
... | ... | @@ -11,6 +12,6 @@ |
11 | 12 | $(function(){ |
12 | 13 | branch_graph = new BranchGraph($("#holder"), { |
13 | 14 | url: '#{url_for controller: 'projects', action: 'graph', format: :json}', |
14 | - commit_url: '#{url_for controller: 'projects', action: 'show'}/commits/%s' | |
15 | + commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}' | |
15 | 16 | }); |
16 | 17 | }); | ... | ... |