use 'redirect' instead of 'redirect_to'