Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in constraints method documentation

  • Loading branch information...
commit 740655c497f4fccb6ffa826c0e85ee47a9a6b8a6 1 parent 1389ebf
@avakhov avakhov authored vijaydev committed
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
@@ -741,7 +741,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
Please sign in to comment.
Something went wrong with that request. Please try again.