Move graph module from lib or vendor directory to app directory.
Because not autoloading lib directory at development mode.
This commit is contained in:
parent
c9b1df1201
commit
d8a40d8c93
7 changed files with 317 additions and 323 deletions
|
@ -20,7 +20,7 @@ class GraphController < ProjectResourceController
|
|||
respond_to do |format|
|
||||
format.html
|
||||
format.json do
|
||||
graph = Gitlab::Graph::JsonBuilder.new(project, @ref, @commit)
|
||||
graph = Graph::JsonBuilder.new(project, @ref, @commit)
|
||||
render :json => graph.to_json
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue