more refactoring using models/concerns

This commit is contained in:
Dmitriy Zaporozhets 2013-01-03 09:06:07 +02:00
parent 40a956eb68
commit da03a5c7e2
10 changed files with 58 additions and 68 deletions

11
lib/gitolited.rb Normal file
View file

@ -0,0 +1,11 @@
# == Gitolited mixin
#
# Provide a shortcut to Gitlab::Gitolite instance by gitolite
#
# Used by Project, UsersProject, etc
#
module Gitolited
def gitolite
Gitlab::Gitolite.new
end
end