mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix typo in constraints method documentation
This commit is contained in:
@@ -735,7 +735,7 @@ module ActionDispatch
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user