module ActionDispatch::Routing::Mapper::HttpHelpers

def map_method(method, *args, &block)

def map_method(method, *args, &block)
  options = args.extract_options!
  options[:via] = method
  args.push(options)
  match(*args, &block)
  self
end