mirror of
https://github.com/thewhitetulip/Tasks.git
synced 2025-04-26 13:49:18 +08:00
restore task redirects to deleted
This commit is contained in:
parent
da17918742
commit
65dd3713d1
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user