Method: ActionDispatch::Routing::Mapper::HttpHelpers#patch

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

#patch(*args, &block) ⇒ Object

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

patch 'bacon', to: 'food#bacon'


703
704
705
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 703

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