method

delete

delete(*args, &block)
public

Define a route that only recognizes HTTP DELETE. For supported arguments, see match[rdoc-ref:Base#match]

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