mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Autoload lib folder to pick up more changes in development mode
This commit is contained in:
parent
de642e0b0e
commit
156347ea7a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue