Skip to content
Browse files

umm, we actually want to pass the env down the filter chain

  • Loading branch information...
1 parent 5275a59 commit f58449be80af1ad81dd4c0ffcc42266f7de721b6 @svenfuchs committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/routing_filter/adapters/rails_3.rb
2 lib/routing_filter/adapters/rails_3.rb
@@ -57,7 +57,7 @@ def optimize_recognize_with_filtering!
# hard for your users to hook in anywhere
def recognize_with_filtering(request, &block)
path, route, matches, params = request.env['PATH_INFO'], nil, nil, nil
-, path, {}) do
+, path, request.env) do
route, matches, params = recognize_without_filtering(request)
params || {}

0 comments on commit f58449b

Please sign in to comment.
Something went wrong with that request. Please try again.