gitlabhq/lib/gitolited.rb

12 lines
195 B
Ruby
Raw Normal View History

2013-01-03 08:06:07 +01:00
# == Gitolited mixin
#
2013-02-11 18:16:59 +01:00
# Provide a shortcut to Gitlab::Shell instance by gitlab_shell
2013-01-03 08:06:07 +01:00
#
# Used by Project, UsersProject, etc
#
module Gitolited
2013-02-11 18:16:59 +01:00
def gitlab_shell
2013-02-04 14:07:56 +01:00
Gitlab::Shell.new
2013-01-03 08:06:07 +01:00
end
end