Enable to display the commit older than 650th commit.
This commit is contained in:
parent
1e907498a9
commit
81cc1cb87b
2 changed files with 48 additions and 20 deletions
|
@ -10,7 +10,7 @@ class GraphController < ProjectResourceController
|
|||
respond_to do |format|
|
||||
format.html
|
||||
format.json do
|
||||
graph = Gitlab::Graph::JsonBuilder.new(project, @ref)
|
||||
graph = Gitlab::Graph::JsonBuilder.new(project, @ref, @commit)
|
||||
render :json => graph.to_json
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue