[ja] apply patch]

This commit is contained in:
Shin Kojima
2014-09-21 22:01:42 +09:00
parent ac0f19179f
commit e03e81ddf3

View File

@@ -100,7 +100,7 @@ EditController
}
func (this *EditController) Get() {
id, _ := strconv.Atoi(this.Ctx.Input.Params(":id"))
id, _ := strconv.Atoi(this.Ctx.Input.Params[":id"])
this.Data["Post"] = models.GetBlog(id)
this.Layout = "layout.tpl"
this.TplNames = "new.tpl"