diff --git a/config/application.rb b/config/application.rb index 0e085aa..852bb0d 100644 --- a/config/application.rb +++ b/config/application.rb @@ -7,6 +7,7 @@ module BanjirApi class Application < Rails::Application config.time_zone = 'Asia/Kuala_Lumpur' config.autoload_paths << Rails.root.join('lib') + config.enable_dependency_loading = true config.middleware.insert_before 0, "Rack::Cors" do allow do