提交 097e6053 编写于 作者: D Dmitriy Zaporozhets

Fix for broken commit_url in graph

上级 3ce79e06
%h3.page_title Project Network Graph
%br
.graph_holder
%h4
%small You can move around the graph by using the arrow keys.
......@@ -11,6 +12,6 @@
$(function(){
branch_graph = new BranchGraph($("#holder"), {
url: '#{url_for controller: 'projects', action: 'graph', format: :json}',
commit_url: '#{url_for controller: 'projects', action: 'show'}/commits/%s'
commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}'
});
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册