method

map_method

Importance_0
map_method(method, args, &block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/routing/mapper.rb, line 716
          def map_method(method, args, &block)
            options = args.extract_options!
            options[:via] = method
            if options.key?(:defaults)
              defaults(options.delete(:defaults)) { match(*args, options, &block) }
            else
              match(*args, options, &block)
            end
            self
          end
Register or log in to add new notes.