Merge commit '79c30d791e8c3eaf543c4b3a51e53609db741327' into ja

This commit is contained in:
Shin Kojima
2013-12-25 02:50:36 +09:00

View File

@@ -167,7 +167,7 @@ DeleteController
func GetBlog(id int) (blog Blog) {
db := GetLink()
db.Where("id=?", id).Find(&blogs)
db.Where("id=?", id).Find(&blog)
return
}
@@ -256,4 +256,4 @@ edit.tpl
## links
* [目录](<preface.md>)
* 上一章: [数据库操作](<13.4.md>)
* 下一节: [小结](<13.6.md>)
* 下一节: [小结](<13.6.md>)