aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2013-09-04 10:42:38 -0700
committerSteve Klabnik <steve@steveklabnik.com>2013-09-04 10:42:38 -0700
commit8c1f5a05c8b4b033bc1f04844ea09365373f702c (patch)
tree91524c517ef828a4cd751142ece3377d24d70735 /actionpack
parentbeb5ea8468e7f629b32252efd644bc68d1b34237 (diff)
parent374bda72df507dc7a672199e71d2e14dc732bba0 (diff)
downloadrails-8c1f5a05c8b4b033bc1f04844ea09365373f702c.tar.gz
rails-8c1f5a05c8b4b033bc1f04844ea09365373f702c.tar.bz2
rails-8c1f5a05c8b4b033bc1f04844ea09365373f702c.zip
Merge pull request #12077 from estsauver/doc_fix
Update mapper documenation for match helper [ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_dispatch/routing/mapper.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/lib/action_dispatch/routing/mapper.rb b/actionpack/lib/action_dispatch/routing/mapper.rb
index 288ce3e867..600c49e442 100644
--- a/actionpack/lib/action_dispatch/routing/mapper.rb
+++ b/actionpack/lib/action_dispatch/routing/mapper.rb
@@ -362,8 +362,9 @@ module ActionDispatch
# # Yes, controller actions are just rack endpoints
# match 'photos/:id', to: PhotosController.action(:show)
#
- # Because request various HTTP verbs with a single action has security
- # implications, is recommendable use HttpHelpers[rdoc-ref:HttpHelpers]
+ # Because requesting various HTTP verbs with a single action has security
+ # implications, you must either specify the actions in
+ # the via options or use one of the HtttpHelpers[rdoc-ref:HttpHelpers]
# instead +match+
#
# === Options