diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..3b66410 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "git.ignoreLimitWarning": true +} \ No newline at end of file diff --git a/app/Http/Middleware/Authenticate.php b/app/Http/Middleware/Authenticate.php index e550d9c..d59fb45 100644 --- a/app/Http/Middleware/Authenticate.php +++ b/app/Http/Middleware/Authenticate.php @@ -15,7 +15,7 @@ class Authenticate extends Middleware protected function redirectTo($request) { if($this->auth->check()) { - return route('/'); + return route('/dashboard'); } else { return route('/'); } diff --git a/routes/web.php b/routes/web.php index 55fd8de..4fdba4b 100644 --- a/routes/web.php +++ b/routes/web.php @@ -22,7 +22,7 @@ Route::group(['middleware' => ['auth']], function(){ /** * Dashboard Controller Display pages */ - //Route::get('/dashboard', 'Dashboard\DashboardController@index'); + Route::get('/dashboard', 'Dashboard\DashboardController@index'); //Route::get('/profile', 'Dashboard\DashboardController@profile'); });