Update 13.5.md

inputs := this.Input()
定义了不用 ,直接干掉吧
This commit is contained in:
picker
2013-05-06 15:14:21 +08:00
parent efaa43e02c
commit 8408e7de4b

View File

@@ -126,7 +126,6 @@ DeleteController
}
func (this *DeleteController) Get() {
inputs := this.Input()
id, _ := strconv.Atoi(this.Ctx.Params[":id"])
this.Data["Post"] = models.DelBlog(id)
this.Ctx.Redirect(302, "/")
@@ -256,4 +255,4 @@ edit.tpl
## links
* [目录](<preface.md>)
* 上一章: [数据库操作](<13.4.md>)
* 下一节: [小结](<13.6.md>)
* 下一节: [小结](<13.6.md>)