method

request_via_redirect

Importance_1
v4.2.1 - Show latest stable - 0 notes - Class: ActionDispatch::Integration::RequestHelpers
request_via_redirect(http_method, path, parameters = nil, headers_or_env = 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.

Show source
Register or log in to add new notes.