method
normalize_conditions
normalize_conditions(conditions)
private
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