The commit is marked and displayed in the center.

This commit is contained in:
Sato Hiroyuki 2013-02-05 12:34:35 +09:00
parent 7812cb77c8
commit 1e907498a9
2 changed files with 17 additions and 7 deletions

View file

@ -14,6 +14,7 @@
branch_graph = new BranchGraph($("#holder"), {
url: '#{project_graph_path(@project, @ref, format: :json)}',
commit_url: '#{project_commit_path(@project, 'ae45ca32').gsub("ae45ca32", "%s")}',
ref: '#{@ref}'
ref: '#{@ref}',
commit_id: '#{@commit && @commit.id}'
});
});