From 0754dd2f955c70994753cd18228333ca32ceee72 Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 16 Mar 2014 06:38:39 -0400 Subject: Add delete all feeds when delete account --- routers/user/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers/user/user.go') diff --git a/routers/user/user.go b/routers/user/user.go index e13f6909..b87076d9 100644 --- a/routers/user/user.go +++ b/routers/user/user.go @@ -168,7 +168,7 @@ func Delete(ctx *middleware.Context) { } } - ctx.Render.HTML(200, "user/delete", ctx.Data) + ctx.Render.Redirect("/", 302) } const ( -- cgit v1.2.3