redirect_back_or_default ain't working

App is not redirecting to session['user_return_to'] since the session variable is set to session['spree_user_return_to'].(But I don't know from where that is happening)