method

map_method

rails latest stable - Class: ActionDispatch::Routing::Mapper::HttpHelpers

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v6.0.0) is shown here.

map_method(method, args, &block)
private

No documentation available.

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