提交 5f455088 编写于 作者: A Alexey Vakhov

Fix typo in constraints method documentation

上级 e28bd7b2
...@@ -735,7 +735,7 @@ def namespace(path, options = {}) ...@@ -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. # if the user should be given access to that route, or +false+ if the user should not.
# #
# class Iphone # class Iphone
# def self.matches(request) # def self.matches?(request)
# request.env["HTTP_USER_AGENT"] =~ /iPhone/ # request.env["HTTP_USER_AGENT"] =~ /iPhone/
# end # end
# end # end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册