method
delete
v4.2.1 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::HttpHelpers
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'