delete(*args, &block) public

Define a route that only recognizes HTTP PUT. For supported arguments, see match.

Example:

delete ‘broccoli’, :to => ‘food#broccoli’

Show source
Register or log in to add new notes.