when I click on logout in my app i get redirected to the Laravel 5 default page. I tried to switch the url to the login and instead of an error i still get redirected to this default page. This is the code in my AuthController
public function doLogout()
{
Auth::logout();
Session::flush();
return Redirect::to('login');
also the logout in my routes.php
Route::get('auth/logout', 'Auth\AuthController@getLogout');
any ideas how to redirect to the login page. thank you