Flowdock
method

redirect_to

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActionController::Flash
redirect_to(options = {}, response_status_and_flash = {}) protected

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/metal/flash.rb, line 29
      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
Register or log in to add new notes.