Methods
Instance Public methods
delete(*args, &block)
Link
Define a route that only recognizes HTTP DELETE. For supported arguments, see match
delete 'broccoli', to: 'food#broccoli'
get(*args, &block)
Link
Define a route that only recognizes HTTP GET. For supported arguments, see match
get 'bacon', to: 'food#bacon'
patch(*args, &block)
Link
Define a route that only recognizes HTTP PATCH. For supported arguments, see match
patch 'bacon', to: 'food#bacon'