method

get

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping::HttpHelpers
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'