aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/application.rb1
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