changed 'redirect_to [...]' with 'redirect_to(:back)'