Skip to content
Browse files

wrong variable call

  • Loading branch information...
1 parent d25fb50 commit d272191d50d1aeb9d4e8c4e2dbcb605d141f8ea6 @eladmeidar committed Apr 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/contrib/deflect.rb
View
2 lib/rack/contrib/deflect.rb
@@ -125,7 +125,7 @@ def clear!
def increment_requests
map[:requests] += 1
- map[:request_uris] << env["REQUEST_URI"]
+ map[:request_uris] << @env["REQUEST_URI"]
end
def exceeded_request_threshold?

0 comments on commit d272191

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