Flowdock
method

normalize_conditions

Importance_0
v1.1.6 - Show latest stable - 0 notes - Class: ActionController::Layout::ClassMethods
normalize_conditions(conditions) 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_controller/layout.rb, line 198
        def normalize_conditions(conditions)
          conditions.inject({}) {|hash, (key, value)| hash.merge(key => [value].flatten.map {|action| action.to_s})}
        end
Register or log in to add new notes.