1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

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

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