restore task redirects to deleted

This commit is contained in:
thewhitetulip 2015-11-21 16:12:38 +05:30
parent da17918742
commit 65dd3713d1
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ func RestoreTaskFunc(w http.ResponseWriter, r *http.Request) {
fmt.Println(err) fmt.Println(err)
} else { } else {
db.RestoreTask(id) db.RestoreTask(id)
http.Redirect(w, r, "/", http.StatusFound) http.Redirect(w, r, "/deleted/", http.StatusFound)
} }
} }