Flowdock
method

add_conditions_for

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActionDispatch::Routing::DeprecatedMapper
add_conditions_for(conditions, method) 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/deprecated_mapper.rb, line 503
        def add_conditions_for(conditions, method)
          {:conditions => conditions.dup}.tap do |options|
            options[:conditions][:method] = method unless method == :any
          end
        end
Register or log in to add new notes.