title: I can't logout with laravel
body: <p>I'm working on my first laravel project in which I made an admin panel to make admin able to controller the website. I tried to login admin into dashboard and everything was fine, when I tried to log him out nothing works and the page was just reloading and redirect back.</p>
  <p>Here is my logout button:</p>
  <pre><code>&lt;a class=&quot;navbar-brand btn btn-primary btn-lg&quot;
   href=&quot;{{route('admin.logout'))}}&quot;&gt; log out&lt;/a&gt;
  </code></pre>
  <p>My route:</p>
  <pre><code> Route::get('logout', 'LoginController@logout')-&gt;name('admin.logout');
  </code></pre>
  <p>And my controller:</p>
  <pre><code>use Illuminate\support\Facades\Auth;
  
  
    public function logout(Request $request){
       
         Auth::logout();
  
          return redirect()-&gt;route('get.admin.login')
          -&gt;with(['success'=&gt;'logged out successfully']);
      }
  </code></pre>
  <p>I used <code>Auth::logout();</code> method from laravel official documentation, however it didn't work.
  I hope I can find help.</p>