module ActionDispatch::Routing::Mapper::HttpHelpers

def options(*args, &block)

options 'carrots', to: 'food#carrots'

For supported arguments, see match[rdoc-ref:Base#match]
Define a route that only recognizes HTTP OPTIONS.
def options(*args, &block)
  map_method(:options, args, &block)
end