options(*args, &block)
public
Define a route that only recognizes HTTP OPTIONS. For supported
arguments, see match[rdoc-ref:Base#match]
options 'carrots', to: 'food#carrots'
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 738
def options(*args, &block)
map_method(:options, args, &block)
end