module ActionDispatch::Routing::Mapper::HttpHelpers

def delete(*args, &block)

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

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