summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/dashboard/nav.html.tmpl4
-rw-r--r--app/views/sessions/redirect.html.tmpl9
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>