Flowdock
method

follow_redirect

Importance_0
v1.1.1 - Show latest stable - 0 notes - Class: ActionController::TestProcess
follow_redirect() public

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/test_process.rb, line 377
    def follow_redirect
      if @response.redirected_to[:controller]
        raise "Can't follow redirects outside of current controller (#{@response.redirected_to[:controller]})"
      end

      get(@response.redirected_to.delete(:action), @response.redirected_to.stringify_keys)
    end
Register or log in to add new notes.