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:
parent
593d265aa0
commit
07f5889c2d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ module Draper
|
||||||
# This is the standard "Rails Way" to add paths from which constants
|
# This is the standard "Rails Way" to add paths from which constants
|
||||||
# can be loaded.
|
# can be loaded.
|
||||||
#
|
#
|
||||||
config.before_initialize do |app|
|
config.after_initialize do |app|
|
||||||
app.config.paths.add 'app/decorators', :eager_load => true
|
app.config.paths.add 'app/decorators', :eager_load => true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue