Merge commit '5b76fa228f621293f47d631c04701554d7b54d08' into ja
This commit is contained in:
@@ -124,7 +124,7 @@ DeleteController
|
||||
}
|
||||
|
||||
func (this *DeleteController) Get() {
|
||||
id, _ := strconv.Atoi(this.Ctx.Params[":id"])
|
||||
id, _ := strconv.Atoi(this.Ctx.Input.Params[":id"])
|
||||
blog := GetBlog(id int)
|
||||
this.Data["Post"] = blog
|
||||
models.DelBlog(blog)
|
||||
|
||||
Reference in New Issue
Block a user