method

get

rails latest stable - Class: ActionDispatch::Routing::Mapper::HttpHelpers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

get(*args, &block)
public

Define a route that only recognizes HTTP GET. For supported arguments, see match[rdoc-ref:Base#match]

get 'bacon', to: 'food#bacon'

1Note

For supported arguments, see see match

pschmitt ยท Jul 6, 2015

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