Allow to overwrite location of gitlab.yml config file.
This commit is contained in:
parent
cad9572ee9
commit
4691285989
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue