default themes and fix notebook to blog bug

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

No files matched your search

+1 -1
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