Use the auth.logout route

This commit is contained in:
James Brooks 2016-10-09 11:11:54 +01:00
parent a0b6ce9601
commit 20e585a879

View File

@ -23,7 +23,7 @@
@endif
@if($current_user)
<li>
<a class="btn btn-link" href="/auth/logout">{{ trans('dashboard.logout') }}</a>
<a class="btn btn-link" href="{{ route('auth.logout') }}">{{ trans('dashboard.logout') }}</a>
</li>
@endif
<li>