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)
|
fmt.Println(err)
|
||||||
} else {
|
} else {
|
||||||
db.RestoreTask(id)
|
db.RestoreTask(id)
|
||||||
http.Redirect(w, r, "/", http.StatusFound)
|
http.Redirect(w, r, "/deleted/", http.StatusFound)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue