method
follow_redirect!
v2.3.8 -
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.