Use route() for settings link

This commit is contained in:
kpcyrd 2018-06-01 21:34:21 +02:00 committed by GitHub
parent 1b794c8508
commit 38e45d3890
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
@endif @endif
<a class="dropdown-item font-weight-bold" href="{{ Auth::user()->url() }}">My Profile</a> <a class="dropdown-item font-weight-bold" href="{{ Auth::user()->url() }}">My Profile</a>
<a class="dropdown-item font-weight-bold" href="{{url(config('app.url') . '/settings')}}">Settings</a> <a class="dropdown-item font-weight-bold" href="{{route('settings')}}">Settings</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>
<a class="dropdown-item font-weight-bold" href="{{route('remotefollow')}}">Remote Follow</a> <a class="dropdown-item font-weight-bold" href="{{route('remotefollow')}}">Remote Follow</a>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>