full() !== url()->previous()) { return redirect()->back(); } return redirect()->route('home'); } }