diff options
author | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-05 11:23:53 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@sphereconsultinginc.com> | 2011-12-05 11:23:53 +0400 |
commit | 8134fe0efe287f6512b7684d4c654b2d43f3df9d (patch) | |
tree | 6e852abf93696cd0fc48d257b4dfa1225f88c8f2 /lib | |
parent | 8f4a0bd1743875289d5870b7d19ecb6c80016b6c (diff) |
git host fixed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlabhq/git_host.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlabhq/git_host.rb b/lib/gitlabhq/git_host.rb index 48f5a150740..714d92f537a 100644 --- a/lib/gitlabhq/git_host.rb +++ b/lib/gitlabhq/git_host.rb @@ -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 |