diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-16 06:38:39 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-16 06:38:39 -0400 |
commit | 0754dd2f955c70994753cd18228333ca32ceee72 (patch) | |
tree | a19b74c2d4b769046743536b646dc6a90428be27 /routers/user/user.go | |
parent | fb960db6afa5fa84e60556f0c7d240b4af165a8d (diff) |
Add delete all feeds when delete account
Diffstat (limited to 'routers/user/user.go')
-rw-r--r-- | routers/user/user.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 ( |