aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-04-15 21:21:46 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-04-15 21:21:46 -0700
commit4f4b8571d5be022feff9fe19965b92f28e3cad79 (patch)
treeb381b65fed00a2d4afa64d52eb906706f59adacb /actionpack/lib/action_controller/metal.rb
parente4637530cd181fb03b35ce5fa2e95508f4bc1e1c (diff)
parentbb74b3952e703ef599ebf0cbc1d57eeabc2f8f9a (diff)
downloadrails-4f4b8571d5be022feff9fe19965b92f28e3cad79.tar.gz
rails-4f4b8571d5be022feff9fe19965b92f28e3cad79.tar.bz2
rails-4f4b8571d5be022feff9fe19965b92f28e3cad79.zip
Merge pull request #10230 from gaurish/remove-match
replace match with get verb in ActionController::Metal
Diffstat (limited to 'actionpack/lib/action_controller/metal.rb')
-rw-r--r--actionpack/lib/action_controller/metal.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/metal.rb b/actionpack/lib/action_controller/metal.rb
index 143b3e0cbd..c7cb88e64f 100644
--- a/actionpack/lib/action_controller/metal.rb
+++ b/actionpack/lib/action_controller/metal.rb
@@ -57,7 +57,7 @@ module ActionController
# And then to route requests to your metal controller, you would add
# something like this to <tt>config/routes.rb</tt>:
#
- # match 'hello', to: HelloController.action(:index)
+ # get 'hello', to: HelloController.action(:index)
#
# The +action+ method returns a valid Rack application for the \Rails
# router to dispatch to.