Method: ActionDispatch::Routing::Mapper::HttpHelpers#put

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

#put(*args, &block) ⇒ Object

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

put 'bacon', to: 'food#bacon'


711
712
713
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 711

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