diff options
Diffstat (limited to 'app/controllers/basic.go')
-rw-r--r-- | app/controllers/basic.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/controllers/basic.go b/app/controllers/basic.go index eff97e1..5363640 100644 --- a/app/controllers/basic.go +++ b/app/controllers/basic.go | |||
@@ -11,6 +11,14 @@ func IndexHandler(c echo.Context) error { | |||
11 | return c.Render(http.StatusOK, "index.tpl", nil) | 11 | return c.Render(http.StatusOK, "index.tpl", nil) |
12 | } | 12 | } |
13 | 13 | ||
14 | func AccountFormHandler(c echo.Context) error { | ||
15 | return c.Render(http.StatusOK, "account.tpl", nil) | ||
16 | } | ||
17 | |||
18 | func UserFormHandler(c echo.Context) error { | ||
19 | return c.Render(http.StatusOK, "user.tpl", nil) | ||
20 | } | ||
21 | |||
14 | func LogoutHandler(c echo.Context) error { | 22 | func LogoutHandler(c echo.Context) error { |
15 | glecho.DeleteAllCookies(c) | 23 | glecho.DeleteAllCookies(c) |
16 | return c.Redirect(http.StatusFound, "/") | 24 | return c.Redirect(http.StatusFound, "/") |