From 929c99abb6687f1e8aebb7bc0966a4458aacf1ac Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 31 Jan 2019 13:28:30 -0700 Subject: [PATCH] Add StoryController --- app/Http/Controllers/StoryController.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/Http/Controllers/StoryController.php b/app/Http/Controllers/StoryController.php index ea45411d..f2fc82b3 100644 --- a/app/Http/Controllers/StoryController.php +++ b/app/Http/Controllers/StoryController.php @@ -2,6 +2,18 @@ namespace App\Http\Controllers; +use Illuminate\Http\Request; + class StoryController extends Controller { + + public function construct() + { + $this->middleware('auth'); + } + + public function home(Request $request) + { + return view('stories.home'); + } }