Method: ActionDispatch::Routing::Mapper::HttpHelpers#get

Defined in:
actionpack/lib/action_dispatch/routing/mapper.rb

#get(*args, &block) ⇒ Object

Define a route that only recognizes HTTP GET. For supported arguments, see match

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


687
688
689
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 687

def get(*args, &block)
  map_method(:get, args, &block)
end