module AbstractController::Callbacks::ClassMethods
def _normalize_callback_option(options, from, to) # :nodoc:
def _normalize_callback_option(options, from, to) # :nodoc: if from_value = options.delete(from) filters = options[:filters] from_value = ActionFilter.new(filters, from, from_value) options[to] = Array(options[to]).unshift(from_value) end end