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) } }