Permalink
Browse files

rack-mount 0.5 support

  • Loading branch information...
1 parent 546e319 commit 3cecc44cb9898a3486e74d9f27a2462c7e3f4d2e @josh josh committed Feb 15, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 actionpack/actionpack.gemspec
  2. +1 −1 actionpack/lib/action_dispatch/routing/route_set.rb
@@ -21,6 +21,6 @@ Gem::Specification.new do |s|
s.add_dependency('activemodel', '= 3.0.0.beta1')
s.add_dependency('rack', '~> 1.1.0')
s.add_dependency('rack-test', '~> 0.5.0')
- s.add_dependency('rack-mount', '~> 0.4.7')
+ s.add_dependency('rack-mount', '~> 0.5.1')
s.add_dependency('erubis', '~> 2.6.5')
end
@@ -431,7 +431,7 @@ def recognize_path(path, environment = {})
end
req = Rack::Request.new(env)
- @set.recognize(req) do |route, params|
+ @set.recognize(req) do |route, matches, params|
dispatcher = route.app
if dispatcher.is_a?(Dispatcher) && dispatcher.controller(params)
dispatcher.prepare_params!(params)

0 comments on commit 3cecc44

Please sign in to comment.