module ActionDispatch::Routing::Mapper::HttpHelpers

def get(*args, &block)

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

For supported arguments, see match[rdoc-ref:Base#match]
Define a route that only recognizes HTTP GET.
def get(*args, &block)
  map_method(:get, args, &block)
end