method
delete
v5.1.7 -
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'