Merge commit '5b76fa228f621293f47d631c04701554d7b54d08' into ja

This commit is contained in:
Shin Kojima
2014-09-21 21:26:17 +09:00

View File

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