Browse Source

Add StoryController

Daniel Supernault 6 years ago
parent
commit
929c99abb6
1 changed files with 12 additions and 0 deletions
  1. 12 0
      app/Http/Controllers/StoryController.php

+ 12 - 0
app/Http/Controllers/StoryController.php

@@ -2,6 +2,18 @@
 
 
 namespace App\Http\Controllers;
 namespace App\Http\Controllers;
 
 
+use Illuminate\Http\Request;
+
 class StoryController extends Controller
 class StoryController extends Controller
 {
 {
+
+	public function construct()
+	{
+		$this->middleware('auth');
+	}
+
+	public function home(Request $request)
+	{
+		return view('stories.home');
+	}
 }
 }