Flowdock
method

_extract_redirect_to_status

Importance_0
v3.2.1 - Show latest stable - 0 notes - Class: ActionController::Redirecting
_extract_redirect_to_status(options, response_status) 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/metal/redirecting.rb, line 69
      def _extract_redirect_to_status(options, response_status)
        status = if options.is_a?(Hash) && options.key?(:status)
          Rack::Utils.status_code(options.delete(:status))
        elsif response_status.key?(:status)
          Rack::Utils.status_code(response_status[:status])
        else
          302
        end
      end
Register or log in to add new notes.