aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-05-14 11:15:43 +0200
committerXavier Noria <fxn@hashref.com>2011-05-14 11:15:43 +0200
commite5524d538c0d0f39d655a78fc45d2122c0ff2f2a (patch)
treec77f723799f123f43c5731880db82711f1851f72 /actionpack/lib/action_dispatch
parent47003f8cdf7afbfa1d78939f17d8b49c9c4348f7 (diff)
downloadrails-e5524d538c0d0f39d655a78fc45d2122c0ff2f2a.tar.gz
rails-e5524d538c0d0f39d655a78fc45d2122c0ff2f2a.tar.bz2
rails-e5524d538c0d0f39d655a78fc45d2122c0ff2f2a.zip
minor edits after going through what's new in docrails
Diffstat (limited to 'actionpack/lib/action_dispatch')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index ca2e86f615..3ba6094fbb 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -352,7 +352,7 @@ module ActionDispatch
#
# [:constraints]
# Constrains parameters with a hash of regular expressions or an
- # object that responds to <tt>#matches?</tt>
+ # object that responds to <tt>matches?</tt>
#
# match 'path/:id', :constraints => { :id => /[A-Z]\d{5}/ }
#
@@ -373,7 +373,7 @@ module ActionDispatch
# See <tt>Scoping#defaults</tt> for its scope equivalent.
#
# [:anchor]
- # Boolean to anchor a <tt>#match</tt> pattern. Default is true. When set to
+ # Boolean to anchor a <tt>match</tt> pattern. Default is true. When set to
# false, the pattern matches any request prefixed with the given path.
#
# # Matches any request starting with 'path'