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'
options(*args, &block) Link
Define a route that only recognizes HTTP OPTIONS. For supported arguments, see match
options 'carrots', to: 'food#carrots'
patch(*args, &block) Link
Define a route that only recognizes HTTP PATCH. For supported arguments, see match
patch 'bacon', to: 'food#bacon'