method

request_method_condition

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::Mapper::Mapping
request_method_condition() 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 175
          def request_method_condition
            if via = @options[:via]
              via = Array(via).map { |m| m.to_s.upcase }
              { :request_method => Regexp.union(*via) }
            else
              { }
            end
          end
Register or log in to add new notes.