In my users photo album page they see photos they have uploaded and each photo has a \'make default\' link on it.
When the user clicks make default, then the id of
In one project we used the session for temporary storage, because redirect_to :back did not work for us.
We had an def new where we set session[:return_to] = request.referer
in the def create we added redirect_to session[:return_to].
I do not know anymore, why we could not use redirect_to :back