Move path loading to after initialization

This commit is contained in:
Ezekiel Templin 2012-05-15 11:50:40 -04:00
parent 593d265aa0
commit 07f5889c2d
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ module Draper
# This is the standard "Rails Way" to add paths from which constants
# can be loaded.
#
config.before_initialize do |app|
config.after_initialize do |app|
app.config.paths.add 'app/decorators', :eager_load => true
end