method

erase_redirect_results

Importance_1
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Base
erase_redirect_results(#:nodoc:) protected

Clears the redirected results from the headers, resets the status to 200 and returns the URL that was used to redirect or nil if there was no redirected URL Note that redirect_to will change the body of the response to indicate a redirection. The response body is not reset here, see erase_render_results

Show source
Register or log in to add new notes.