From 49c74da90e96a205fd589c4be821e8a50a3cf81f Mon Sep 17 00:00:00 2001 From: James Brooks Date: Mon, 24 Nov 2014 15:33:36 +0000 Subject: [PATCH] Added AuthController --- app/controllers/AuthController.php | 16 ++++++++++++++++ app/routes/app.php | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 app/controllers/AuthController.php diff --git a/app/controllers/AuthController.php b/app/controllers/AuthController.php new file mode 100644 index 00000000..3debd1cd --- /dev/null +++ b/app/controllers/AuthController.php @@ -0,0 +1,16 @@ + 'auth'], function() { + // Dashboard/Management Panel etc. Route::get('/dashboard', 'DashboardController@showDashboard'); + + // Authorization stuff. + Route::get('/auth/logout', 'AuthController@logoutAction'); });