fixed: profile button highlighting

This commit is contained in:
Maximilian Walter 2016-05-16 16:00:28 +02:00
parent 09d3dc3a32
commit eba5cbacc2
2 changed files with 2 additions and 2 deletions

View file

@ -297,7 +297,7 @@ ponyfm.config [
controller: 'artist'
state.state 'content.artist.profile',
url: ''
url: '^/{slug}'
templateUrl: '/templates/artists/profile.html'
controller: 'artist-profile'

View file

@ -53,7 +53,7 @@
<span><i class="icon-chevron-down"></i></span>
</a>
<ul class="dropdown-menu">
<li><a href="{{Auth::user()->url}}">Your Profile</a></li>
<li ui-sref-active="active"><a ui-sref="content.artist.profile({slug: auth.user.slug})">Your Profile</a></li>
<li ui-sref-active="active"><a ui-sref="content.artist.favourites({slug: auth.user.slug})">Favourites</a></li>
<li ui-sref-active="active"><a ui-sref="content.artist.account.settings({slug: auth.user.slug})">Account</a></li>
<li><a href="#" pfm-eat-click ng-click="logout()">Logout</a></li>