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 | |
| parent | 564e140de454c78d7e6d34044bb78f53bd0b2bf3 (diff) | |
refactor: delete code that is now handled by envoy
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/dashboard/nav.html.tmpl | 4 | ||||
| -rw-r--r-- | app/views/sessions/redirect.html.tmpl | 9 |
2 files changed, 2 insertions, 11 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> diff --git a/app/views/sessions/redirect.html.tmpl b/app/views/sessions/redirect.html.tmpl deleted file mode 100644 index e70e1d5..0000000 --- a/app/views/sessions/redirect.html.tmpl +++ /dev/null @@ -1,9 +0,0 @@ -<!doctype html> -<html lang="en"> - <head> - <meta http-equiv="refresh" content="0;URL='{{ .URL }}'"/> - </head> - <body> - <p>Moved to <a href="{{ .URL }}">location</a>.</p> - </body> -</html> |
