diff options
| author | mo khan <mo@mokhan.ca> | 2025-05-15 09:12:22 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-05-15 09:12:22 -0600 |
| commit | 8e211ff4bac177465fb9adc0bfa3744ca4e1da47 (patch) | |
| tree | 0b1e3006ca4f947d844a4f9411d4d10a41eef22e /app/views/dashboard | |
| parent | 564e140de454c78d7e6d34044bb78f53bd0b2bf3 (diff) | |
refactor: delete code that is now handled by envoy
Diffstat (limited to 'app/views/dashboard')
| -rw-r--r-- | app/views/dashboard/nav.html.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/nav.html.tmpl b/app/views/dashboard/nav.html.tmpl index c43ea48..c9c4a84 100644 --- a/app/views/dashboard/nav.html.tmpl +++ b/app/views/dashboard/nav.html.tmpl @@ -13,7 +13,7 @@ <li><a href="/dashboard">Dashboard</a></li> <li><a href="{{ .CurrentUser.ProfileURL }}">Profile</a></li> <li> - <form action="/session/destroy" method="post"> + <form action="/signout" method="post"> <input type="submit" value="Logout"> </form> </li> @@ -21,7 +21,7 @@ </details> </li> {{ else }} - <li><a href="/session/new" class="secondary">Login</a></li> + <li><a href="/dashboard" class="secondary">Login</a></li> {{ end }} </ul> </nav> |
