Skip to content
Permalink
Browse files
Added @ujifgc's suggestion #1449#issuecomment-26145420 to launch the …
…circular loader.
  • Loading branch information
Dario Cravero committed Oct 11, 2013
1 parent 64a99db commit d3592c510338c3bd0d887b673cfe95c2d30a32f9
Showing 1 changed file with 1 addition and 1 deletion.
@@ -57,7 +57,7 @@ def load!
require_dependencies("#{root}/config/database.rb")
Reloader.lock!
before_load.each(&:call)
dependency_paths.each{ |path| require_dependencies(path) }
require_dependencies(*dependency_paths)
after_load.each(&:call)
logger.devel "Loaded Padrino in #{Time.now - began_at} seconds"
Thread.current[:padrino_loaded] = true

0 comments on commit d3592c5

Please sign in to comment.