module ActionDispatch::Routing::Mapper::HttpHelpers

def map_method(method, args, &block)

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