title: dropdown menu doesn't open - laravel 5
body: <p>I can not get out of my application, I'm using the auth out of box login for laravel 5, but when I get out of my account, I'm not successful.</p>
  
  <p><strong>EDIT:</strong> the problem is that dropdown menu does not open for me to logout. </p>
  
  <p>Can someone help me ?</p>
  
  <p>this is my app.blade.php -></p>
  
  <pre><code>@guest
      &lt;li&gt;&lt;a href="{{ route('login') }}"&gt;Login&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="{{ route('register') }}"&gt;Register&lt;/a&gt;&lt;/li&gt;
  @else
      &lt;li class="dropdown"&gt;
          &lt;a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" v-pre&gt;
              {{ Auth::user()-&gt;name }} &lt;span class="caret"&gt;&lt;/span&gt;
          &lt;/a&gt;
  
          &lt;ul class="dropdown-menu"&gt;
              &lt;li&gt;
                  &lt;a href="{{ route('logout') }}"
                      onclick="event.preventDefault();
                                  document.getElementById('logout-form').submit();"&gt;
                      Logout
                  &lt;/a&gt;
  
                  &lt;form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;"&gt;
                      {{ csrf_field() }}
                  &lt;/form&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/li&gt;
  @endguest
  </code></pre>