more refactoring using models/concerns
This commit is contained in:
parent
40a956eb68
commit
da03a5c7e2
10 changed files with 58 additions and 68 deletions
11
lib/gitolited.rb
Normal file
11
lib/gitolited.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue