method
map_method
v3.2.8 -
Show latest stable
- Class:
ActionDispatch::Routing::Mapper::HttpHelpers
map_method(method, *args, &block)private
No documentation available.
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 503
def map_method(method, *args, &block)
options = args.extract_options!
options[:via] = method
args.push(options)
match(*args, &block)
self
end