gitlabhq/app/roles/git_host.rb
Dmitriy Zaporozhets 82ae973a99 Describe for Roles
2012-12-30 16:19:31 +02:00

12 lines
171 B
Ruby

# == GitHost role
#
# Provide a shortcut to Gitlab::Gitolite instance
#
# Used by Project, UsersProject
#
module GitHost
def git_host
Gitlab::Gitolite.new
end
end