Closed monfresh closed 1 year ago
redirect_to :back doesn't work anymore in Rails 6. Instead, we can use redirect_back with the root as the fallback location.
redirect_to :back
redirect_back
redirect_to :back
doesn't work anymore in Rails 6. Instead, we can useredirect_back
with the root as the fallback location.