middleware('auth'); } public function index() { if(Auth::check()) { } return view('templates.index', ['title' => 'Page 2']); } }