postCount != lastPostIndex unfortunately, that will need some rethinking
This commit is contained in:
barisusakli
2014-06-26 22:11:16 -04:00
parent 49a9601a04
commit 1cabf885a2
5 changed files with 65 additions and 6 deletions

View File

@@ -79,6 +79,9 @@ function categoryRoutes(app, middleware, controllers) {
app.get('/api/unread/total', middleware.authenticate, controllers.categories.unreadTotal);
app.get('/category/:category_id/:slug/:topic_index', middleware.buildHeader, middleware.checkTopicIndex, controllers.categories.get);
app.get('/api/category/:category_id/:slug/:topic_index', middleware.checkTopicIndex, controllers.categories.get);
app.get('/category/:category_id/:slug?', middleware.buildHeader, middleware.addSlug, controllers.categories.get);
app.get('/api/category/:category_id/:slug?', controllers.categories.get);
}