Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10230 from gaurish/remove-match

replace match with get verb in ActionController::Metal
  • Loading branch information...
commit 4f4b8571d5be022feff9fe19965b92f28e3cad79 2 parents e463753 + bb74b39
@rafaelfranca rafaelfranca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/metal.rb
View
2  actionpack/lib/action_controller/metal.rb
@@ -57,7 +57,7 @@ def build(action, app=nil, &block)
# 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.
Please sign in to comment.
Something went wrong with that request. Please try again.