method
follow_redirect!
v1.2.6 -
Show latest stable
- Class:
ActionController::Integration::Session
follow_redirect!()public
Follow a single redirect response. If the last response was not a redirect, an exception will be raised. Otherwise, the redirect is performed on the location header.