From e1faa17bd5f6d88793a4092f3f59724cc1c9b5ba Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 26 May 2018 17:00:07 -0600 Subject: [PATCH] Add AccountController --- app/Http/Controllers/AccountController.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 app/Http/Controllers/AccountController.php diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php new file mode 100644 index 00000000..e5635d1d --- /dev/null +++ b/app/Http/Controllers/AccountController.php @@ -0,0 +1,22 @@ +middleware('auth'); + } + + public function notifications(Request $request) + { + $user = Auth::user(); + $profile = $user->profile; + return view('account.activity', compact('profile')); + } +}