Skip to content
Snippets Groups Projects
Commit 7e10d013 authored by Sid Sijbrandij's avatar Sid Sijbrandij
Browse files

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

Allow to overwrite location of gitlab.yml config file.
parents 52a247da 46912859
No related branches found
No related tags found
No related merge requests found
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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment