Fix typo in constraints method documentation

This commit is contained in:
Alexey Vakhov
2011-11-01 08:55:03 +04:00
parent e28bd7b226
commit 5f4550889d

View File

@@ -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