method
get
v3.2.13 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::HttpHelpers
get(*args, &block)public
Define a route that only recognizes HTTP GET. For supported arguments, see Base#match.
Example:
get ‘bacon’, :to => ‘food#bacon’
1Note
For supported arguments, see see match
As of July, 2015, the v4.2.1 doc says "see match[rdoc-ref:Base#match]" without a URL. I think you want this one: http://apidock.com/rails/ActionDispatch/Routing/Mapper/Base/match