method
map_method
map_method(method, *args, &block)
private
Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 497 def map_method(method, *args, &block) options = args.extract_options! options[:via] = method args.push(options) match(*args, &block) self end