Merge pull request #80 from Poniverse/feature-profile-button

fixed: #53 profile button highlighting
This commit is contained in:
Adam Lavin 2016-05-16 15:37:58 +01:00
commit 04d9d46d7a
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>