aboutsummaryrefslogtreecommitdiff
path: root/ExamTemplate/Web/Views/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'ExamTemplate/Web/Views/Shared')
-rw-r--r--ExamTemplate/Web/Views/Shared/_Navbar.cshtml4
1 files changed, 3 insertions, 1 deletions
diff --git a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
index cde4b15..7ae8f50 100644
--- a/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
+++ b/ExamTemplate/Web/Views/Shared/_Navbar.cshtml
@@ -13,7 +13,9 @@
<section>
@if (SignInManager.IsSignedIn(User))
{
- <a asp-controller="User" asp-action="">@UserManager.GetUserName(User)</a>
+ <a asp-controller="User" asp-action="Profile" asp-route-username="@UserManager.GetUserName(User)">
+ @UserManager.GetUserName(User)
+ </a>
<form asp-controller="User" asp-action="Logout" method="post">
<input type="submit" value="Logout">