From b03a664ec42bd93a7547fb53216ab3ae5d099dcd Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Thu, 5 Apr 2018 22:58:56 +0100 Subject: Move the terraform utilities to lib/ Change the module to a class, which is used to represent a terraform working directory. Change the routing for the terraform http backends, to remove any connection with mini environments, and remove this concern from the new TerraformWorkingDirectory class also. --- config/application.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/application.rb') diff --git a/config/application.rb b/config/application.rb index a7c23fb..ab4fa46 100644 --- a/config/application.rb +++ b/config/application.rb @@ -14,5 +14,7 @@ module GovukMiniEnvironmentAdmin # 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. + + config.autoload_paths << "#{Rails.root}/lib" end end -- cgit v1.2.3