How to logout and redirect to login page using Laravel 5.3?
问题 I am using Laravel 5.3 and trying to implement authentication system. I used php artisan command make:auth to setup it. I edited the views according to my layout and redirecting it my dashboard page instead of home (set as default in setup). Now, when I am trying to logout it throwing me this error NotFoundHttpException in RouteCollection.php line 161 My code in routes/web.php is: Auth::routes(); Route::get('/pages/superadmin/dashboard', 'HomeController@index'); HomeController.php <?php