dashboard and routes

This commit is contained in:
2019-10-11 19:49:48 -05:00
parent 155f1d761e
commit ebaa80b924
3 changed files with 5 additions and 2 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"git.ignoreLimitWarning": true
}

View File

@@ -15,7 +15,7 @@ class Authenticate extends Middleware
protected function redirectTo($request)
{
if($this->auth->check()) {
return route('/');
return route('/dashboard');
} else {
return route('/');
}

View File

@@ -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');
});