exists('front.basic.gains')) { return view('front.basic.gains'); } return redirect()->route('home'); } }