[ja] apply patch]
This commit is contained in:
@@ -100,7 +100,7 @@ EditController
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (this *EditController) Get() {
|
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.Data["Post"] = models.GetBlog(id)
|
||||||
this.Layout = "layout.tpl"
|
this.Layout = "layout.tpl"
|
||||||
this.TplNames = "new.tpl"
|
this.TplNames = "new.tpl"
|
||||||
|
|||||||
Reference in New Issue
Block a user