From be470784c53e48ed3fa2d81aa4b3a004d78708c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonne=20Ha=C3=9F?= Date: Thu, 4 Apr 2013 23:32:11 +0200 Subject: [PATCH] add app directory to the autoload paths so that the worker files are loaded in development mode too --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index 0a5e7c510..8e1d13759 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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).