From 65dd3713d10782cfdaf2d1f1f070ac08f66e650d Mon Sep 17 00:00:00 2001 From: thewhitetulip Date: Sat, 21 Nov 2015 16:12:38 +0530 Subject: [PATCH] restore task redirects to deleted --- views/views.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/views.go b/views/views.go index 142a32d..6f4ad21 100644 --- a/views/views.go +++ b/views/views.go @@ -164,7 +164,7 @@ func RestoreTaskFunc(w http.ResponseWriter, r *http.Request) { fmt.Println(err) } else { db.RestoreTask(id) - http.Redirect(w, r, "/", http.StatusFound) + http.Redirect(w, r, "/deleted/", http.StatusFound) } }