method
request_via_redirect
v2.3.8 -
Show latest stable
- Class:
ActionController::Integration::Session
request_via_redirect(http_method, path, parameters = nil, headers = nil)public
Performs a request using the specified method, following any subsequent redirect. Note that the redirects are followed until the response is not a redirect—this means you may run into an infinite loop if your redirect loops back to itself.