aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-31 14:16:46 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-07-31 14:16:46 -0500
commitcbcfbdd078c1f69f65a31d87b218fb41f495ce0f (patch)
tree36fb5bb244e5f36adedd820da86a4a192dcd2aab
parent8453addedcea6e42a5df3d241225a32698121072 (diff)
downloadrails-cbcfbdd078c1f69f65a31d87b218fb41f495ce0f.tar.gz
rails-cbcfbdd078c1f69f65a31d87b218fb41f495ce0f.tar.bz2
rails-cbcfbdd078c1f69f65a31d87b218fb41f495ce0f.zip
fix punctuation in #resources and #match documentation [ci skip]
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 4c4d12998f..90b45d6502 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -406,8 +406,8 @@ module ActionDispatch
# match 'path' => 'c#a', :anchor => false
#
# [:format]
- # Allows you to specify default value for optional +format+ segment
- # or disable it if you supply +false+
+ # Allows you to specify the default value for optional +format+
+ # segment or disable it if you supply +false+.
def match(path, options=nil)
end
@@ -1191,8 +1191,8 @@ module ActionDispatch
# sekret_comment DELETE /comments/:id(.:format)
#
# [:format]
- # Allows you to specify default value for optional +format+ segment
- # or disable it if you supply +false+
+ # Allows you to specify the default value for optional +format+
+ # segment or disable it if you supply +false+.
#
# === Examples
#