Skip to content

Commit d3592c5

Browse files
author
Dario Cravero
committed
Added @ujifgc's suggestion #1449#issuecomment-26145420 to launch the circular loader.
1 parent 64a99db commit d3592c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

padrino-core/lib/padrino-core/loader.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def load!
5757
require_dependencies("#{root}/config/database.rb")
5858
Reloader.lock!
5959
before_load.each(&:call)
60-
dependency_paths.each{ |path| require_dependencies(path) }
60+
require_dependencies(*dependency_paths)
6161
after_load.each(&:call)
6262
logger.devel "Loaded Padrino in #{Time.now - began_at} seconds"
6363
Thread.current[:padrino_loaded] = true

0 commit comments

Comments
 (0)