method

request_method_condition

Importance_0
v3.1.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 204
          def request_method_condition
            if via = @options[:via]
              list = Array(via).map { |m| m.to_s.dasherize.upcase }
              { :request_method => list }
            else
              { }
            end
          end
Register or log in to add new notes.