default themes and fix notebook to blog bug

This commit is contained in:
life
2014-11-12 19:36:31 +08:00
parent cd3c2f7b12
commit 51fedfa6dc
18 changed files with 61 additions and 156 deletions

View File

@ -481,7 +481,7 @@ func (c Blog) Cate(userIdOrEmail string, notebookId string) (re revel.Result) {
return c.e404(userBlog.ThemePath) // 404 TODO 使用用户的404
}
if !notebook.IsBlog {
return c.e404("")
panic("")
}
// 分页的话, 需要分页信息, totalPage, curPage