git host fixed
This commit is contained in:
parent
8f4a0bd174
commit
8134fe0efe
7 changed files with 14 additions and 8 deletions
|
@ -4,10 +4,10 @@ require File.join(Rails.root, "lib", "gitlabhq", "gitosis")
|
|||
module Gitlabhq
|
||||
class GitHost
|
||||
def self.system
|
||||
if GIT_HOST["system"] == "gitolite"
|
||||
Gitlabhq::Gitolite
|
||||
else
|
||||
if GIT_HOST["system"] == "gitosis"
|
||||
Gitlabhq::Gitosis
|
||||
else
|
||||
Gitlabhq::Gitolite
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue