My Rails app is throwing a
AbstractController::DoubleRenderError. You can see my controller action below, it does include multiple render and/or redirects, however, I've read and found that doing it with a return should negate this exception.
Here is my controller action:
redirect_to login and return if @current_login == nil
render template: 'app' and return if @current_login
I've verified that
nil, meaning it should redirect and return.