Move graph_commit under gitlab module

This commit is contained in:
randx 2012-08-19 10:58:10 +03:00
parent 05c86fb0fc
commit d4059ac966
3 changed files with 185 additions and 183 deletions

View file

@ -1,4 +1,4 @@
require File.join(Rails.root, 'lib', 'graph_commit')
require Rails.root.join('lib', 'gitlab', 'graph_commit')
class ProjectsController < ApplicationController
before_filter :project, except: [:index, :new, :create]
@ -78,7 +78,7 @@ class ProjectsController < ApplicationController
end
def graph
@days_json, @commits_json = GraphCommit.to_graph(project)
@days_json, @commits_json = Gitlab::GraphCommit.to_graph(project)
end
def destroy