redirectDashboard(); case '0': case '9': return redirect()->route('db-update.index'); } } public function redirectDashboard() { session()->put('user.is_member', true); return redirect()->route('dashboard'); } }