diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2011-11-01 08:55:03 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2011-11-01 08:55:03 +0400 |
commit | 5f4550889dcab7def4122d37a3379d57627f68e2 (patch) | |
tree | 317abf7fb4a9a208a4fabc4406aa00f3ee13a6df | |
parent | e28bd7b22698dc2a5df05fe6ab9ceba715452a33 (diff) | |
download | rails-5f4550889dcab7def4122d37a3379d57627f68e2.tar.gz rails-5f4550889dcab7def4122d37a3379d57627f68e2.tar.bz2 rails-5f4550889dcab7def4122d37a3379d57627f68e2.zip |
Fix typo in constraints method documentation
-rw-r--r-- | actionpack/lib/action_dispatch/routing/mapper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb index 09a8c10043..e8bfe9bbd0 100644 --- a/actionpack/lib/action_dispatch/routing/mapper.rb +++ b/actionpack/lib/action_dispatch/routing/mapper.rb @@ -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 |