X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/bfa9ee952c1ae3f03fe2f9fa781a132411963030..386e1eefaac2021805f73732b10e9f543c221593:/apps/workbench/config/application.rb?ds=sidebyside diff --git a/apps/workbench/config/application.rb b/apps/workbench/config/application.rb index c456bb117d..a1f35c43c3 100644 --- a/apps/workbench/config/application.rb +++ b/apps/workbench/config/application.rb @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: AGPL-3.0 + require File.expand_path('../boot', __FILE__) require 'rails/all' @@ -12,6 +16,7 @@ module ArvadosWorkbench # Custom directories with classes and modules you want to be autoloadable. # config.autoload_paths += %W(#{config.root}/extras) + config.autoload_paths += %W(#{config.root}/lib) # Only load the plugins named here, in the order given (default is alphabetical). # :all can be used as a placeholder for all plugins not explicitly named. @@ -49,3 +54,5 @@ module ArvadosWorkbench config.assets.version = '1.0' end end + +require File.expand_path('../load_config', __FILE__)