Commit 7e10d01342e500e8bdf10051595020d1bb4bfd0b

Authored by Sytse Sijbrandij
2 parents 52a247da 46912859

Merge pull request #6782 from pkgr/allow-to-change-gitlab-config-location-via-env-variable

Allow to overwrite location of gitlab.yml config file.
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
config/initializers/1_settings.rb
1 1 class Settings < Settingslogic
2   - source "#{Rails.root}/config/gitlab.yml"
  2 + source ENV.fetch('GITLAB_CONFIG') { "#{Rails.root}/config/gitlab.yml" }
3 3 namespace Rails.env
4 4  
5 5 class << self
... ...