instance method
patch_via_redirect
Ruby on Rails 4.0.13
Since v4.0.13 Last seen in v4.2.9Signature
patch_via_redirect(path, parameters = nil, headers_or_env = nil)
Performs a PATCH request, following any subsequent redirect. See request_via_redirect for more information.
Parameters
-
pathreq -
parametersopt = nil -
headers_or_envopt = nil
Source
# File actionpack/lib/action_dispatch/testing/integration.rb, line 112
def patch_via_redirect(path, parameters = nil, headers_or_env = nil)
request_via_redirect(:patch, path, parameters, headers_or_env)
end
Defined in actionpack/lib/action_dispatch/testing/integration.rb line 112
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Integration::RequestHelpers