diff options
author | Christopher Baines <mail@cbaines.net> | 2018-07-03 10:48:08 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-07-03 10:48:08 +0100 |
commit | 920e39eee797117cb0242bdb6f56d151ef2287fb (patch) | |
tree | de3d00e8a15d9c7d7cd233096636a4dedad5f4ee /config | |
parent | c966899ded75c66bdede7236c0a3ebec0a89ee32 (diff) | |
download | govuk-mini-environment-admin-920e39eee797117cb0242bdb6f56d151ef2287fb.tar govuk-mini-environment-admin-920e39eee797117cb0242bdb6f56d151ef2287fb.tar.gz |
Add lib to the eager_load_pathsrelease_6
To make accessing classes and modules in lib work in the production
environment.
Diffstat (limited to 'config')
-rw-r--r-- | config/application.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/application.rb b/config/application.rb index 534981c..a5e5b94 100644 --- a/config/application.rb +++ b/config/application.rb @@ -19,6 +19,7 @@ module GovukMiniEnvironmentAdmin # -- all .rb files in that directory are automatically loaded. config.autoload_paths << "#{Rails.root}/lib" + config.eager_load_paths << "#{Rails.root}/lib" config.active_record.schema_format = :sql end |