diff options
| -rw-r--r-- | Project-Unite/Views/Shared/_LoginPartial.cshtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Project-Unite/Views/Shared/_LoginPartial.cshtml b/Project-Unite/Views/Shared/_LoginPartial.cshtml index 1ea2733..7c49f01 100644 --- a/Project-Unite/Views/Shared/_LoginPartial.cshtml +++ b/Project-Unite/Views/Shared/_LoginPartial.cshtml @@ -9,7 +9,7 @@ <li>@Html.NewestUser()</li> <li class="dropdown"><a href="#" data-toggle="dropdown" class="dropdown-toggle"><span class="glyphicon glyphicon-user"></span> @Html.UserName(User.Identity.GetUserId()) <span class="caret"></span></a> <ul class="dropdown-menu"> - <li><a href="@Url.Action("ViewProfile", "Profiles", new { name = User.Identity.Name })"><span class="glyphicon glyphicon-user"></span> Profile</a></li> + <li><a href="@Url.Action("ViewProfile", "Profiles", new { id = ACL.UserNameRaw(User.Identity.GetUserId()) })"><span class="glyphicon glyphicon-user"></span> Profile</a></li> <li class="divider"></li> <li class="dropdown-header">Settings</li> @if(ACL.Granted(User.Identity.Name, "CanAccessAdminCP")) |
