aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-11-20 09:49:08 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-11-20 09:49:08 +0900
commitfa5436e017e31a00a33dd69eb989255af63c636e (patch)
tree14e2d45fed87b3d930b91bac2ad32558bb892764
parent64127cde8c0bfff9b88710f83a8305f1ee96374b (diff)
downloadrails-fa5436e017e31a00a33dd69eb989255af63c636e.tar.gz
rails-fa5436e017e31a00a33dd69eb989255af63c636e.tar.bz2
rails-fa5436e017e31a00a33dd69eb989255af63c636e.zip
fix typo in `match` doc [ci skip]
s/Constrains/Constraints
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb2
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 4efde09b8b..f3d76bb91c 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -532,7 +532,7 @@ module ActionDispatch
# end
#
# [:constraints]
- # Constrains parameters with a hash of regular expressions
+ # Constraints parameters with a hash of regular expressions
# or an object that responds to <tt>matches?</tt>. In addition, constraints
# other than path can also be specified with any object
# that responds to <tt>===</tt> (eg. String, Array, Range, etc.).