mirror of
https://github.com/discourse/discourse.git
synced 2025-04-01 06:36:00 +08:00
Autoload lib folder to pick up more changes in development mode
This commit is contained in:
parent
de642e0b0e
commit
156347ea7a
@ -61,6 +61,7 @@ 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).
|
||||
|
Loading…
x
Reference in New Issue
Block a user