From f200d523247cb177411682b9b033379eb1190d08 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Sun, 13 Aug 2017 14:31:13 -0400 Subject: [PATCH] Revert "Autoload lib folder to pick up more changes in development mode" This reverts commit 156347ea7ac7b55f74c1b2d9eb311312d601fae9. --- config/application.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 1d2de896db4..4b807dfac73 100644 --- a/config/application.rb +++ b/config/application.rb @@ -61,7 +61,6 @@ module Discourse # Custom directories with classes and modules you want to be autoloadable. config.autoload_paths += Dir["#{config.root}/app/serializers"] config.autoload_paths += Dir["#{config.root}/lib/validators/"] - config.autoload_paths += Dir["#{config.root}/lib"] config.autoload_paths += Dir["#{config.root}/app"] # Only load the plugins named here, in the order given (default is alphabetical).