add app directory to the autoload paths so that the worker files are loaded in development mode too

This commit is contained in:
Jonne Haß 2013-04-04 23:32:11 +02:00
parent 19f94fb169
commit be470784c5

View file

@ -32,7 +32,7 @@ module Diaspora
# -- all .rb files in that directory are automatically loaded.
# Add additional load paths for your own custom dirs
config.autoload_paths += %W{#{config.root}/app/presenters}
config.autoload_paths += %W{#{config.root}/app/presenters #{config.root}/app}
config.autoload_once_paths += %W{#{config.root}/lib}
# Only load the plugins named here, in the order given (default is alphabetical).