method
delete
rails 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'