Allow to overwrite location of gitlab.yml config file.

This commit is contained in:
Cyril Rohr 2014-04-15 17:04:22 +01:00
parent cad9572ee9
commit 4691285989
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
class Settings < Settingslogic
source "#{Rails.root}/config/gitlab.yml"
source ENV.fetch('GITLAB_CONFIG') { "#{Rails.root}/config/gitlab.yml" }
namespace Rails.env
class << self