diff --git a/ja/ebook/13.5.md b/ja/ebook/13.5.md index 0282bff1..94e17512 100644 --- a/ja/ebook/13.5.md +++ b/ja/ebook/13.5.md @@ -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"