Skip to content

Commit

Permalink
added profile edit to nav status
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremykenedy committed Apr 5, 2017
1 parent 67fb125 commit 4c3d441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/partials/nav.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{{ Auth::user()->name }} <span class="caret"></span>
</a>
<ul class="dropdown-menu" role="menu">
<li {{ Request::is('profile/'.Auth::user()->name) ? 'class=active' : null }}>
<li {{ Request::is('profile/'.Auth::user()->name, 'profile/'.Auth::user()->name . '/edit') ? 'class=active' : null }}>
{!! HTML::link(url('/profile/'.Auth::user()->name), trans('titles.profile')) !!}
</li>
<li>
Expand Down

0 comments on commit 4c3d441

Please sign in to comment.