Method: ActionDispatch::Routing::Mapper::HttpHelpers#delete

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

#delete(*args, &block) ⇒ Object

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

delete 'broccoli', to: 'food#broccoli'


719
720
721
# File 'actionpack/lib/action_dispatch/routing/mapper.rb', line 719

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