summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-23 18:11:16 -0400
committerMichael <[email protected]>2017-03-23 18:11:16 -0400
commit4a9eb8d0ae0bfb53db27b5cf0f43f5c39af0e41c (patch)
treeb53e83300b7df4dde8dbd06b261916f63a436481
parent0f2629f0603b3c8f5dddf0747da6916dbf479dc4 (diff)
downloadproject-unite-4a9eb8d0ae0bfb53db27b5cf0f43f5c39af0e41c.tar.gz
project-unite-4a9eb8d0ae0bfb53db27b5cf0f43f5c39af0e41c.tar.bz2
project-unite-4a9eb8d0ae0bfb53db27b5cf0f43f5c39af0e41c.zip
fix the user profile link
-rw-r--r--Project-Unite/Views/Shared/_LoginPartial.cshtml2
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"))