module ActionController::Flash - actionpack-4.2.4 Documentation

# module ActionController::Flash

### Protected Instance Methods

redirect_to(options = {}, response_status_and_flash = {}) click to toggle source
Calls superclass method

    # File lib/action_controller/metal/flash.rb, line 46
    def redirect_to(options = {}, response_status_and_flash = {}) #:doc:
      self.class._flash_types.each do |flash_type|
        if type = response_status_and_flash.delete(flash_type)
          flash[flash_type] = type
        end
      end

      if other_flashes = response_status_and_flash.delete(:flash)
        flash.update(other_flashes)
      end

      super(options, response_status_and_flash)
    end