15467: Services only load their own legacy config files
[arvados.git] / apps / workbench / config / application.rb
index 1c7a9d0dac8866511f795e1fea048d7f4989a300..514d57196d3fcc802dbc83a640907bbf166ceb76 100644 (file)
@@ -21,6 +21,9 @@ Bundler.require(:default, Rails.env)
 
 module ArvadosWorkbench
   class Application < Rails::Application
+
+    require_relative "arvados_config.rb"
+
     # Settings in config/environments/* take precedence over those specified here.
     # Application configuration should go into files in config/initializers
     # -- all .rb files in that directory are automatically loaded.
@@ -71,5 +74,3 @@ module ArvadosWorkbench
     config.assets.paths << Rails.root.join('node_modules')
   end
 end
-
-require File.expand_path('../load_config', __FILE__)