Skip to content
Browse files

Fix typo in constraints method documentation

  • Loading branch information...
1 parent e28bd7b commit 5f4550889dcab7def4122d37a3379d57627f68e2 @avakhov avakhov committed Nov 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_dispatch/routing/mapper.rb
View
2 actionpack/lib/action_dispatch/routing/mapper.rb
@@ -735,7 +735,7 @@ def namespace(path, options = {})
# if the user should be given access to that route, or +false+ if the user should not.
#
# class Iphone
- # def self.matches(request)
+ # def self.matches?(request)
# request.env["HTTP_USER_AGENT"] =~ /iPhone/
# end
# end

0 comments on commit 5f45508

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