Permalink
Browse files

Fix Dispatch.new so passenger works

  • Loading branch information...
1 parent 86d0590 commit c97c31b096e627480b64403d1460065738941c3e @josh josh committed Oct 4, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/dispatch/dispatcher.rb
@@ -50,7 +50,7 @@ def define_dispatcher_callbacks(cache_classes)
def new
# DEPRECATE Rails application fallback
- Rails.application
+ Rails.application.new
end
end
end

0 comments on commit c97c31b

Please sign in to comment.