method

erase_redirect_results

rails latest stable - Class: ActionController::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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