fixed topic thumbs

This commit is contained in:
Baris Soner Usakli
2014-02-21 23:15:25 -05:00
16 changed files with 503 additions and 103 deletions

View File

@@ -677,7 +677,7 @@ module.exports.server = server;
posts: topicData
});
});
},
}
], function (err, data) {
if (err) {
if (err.message === 'not-enough-privileges') {
@@ -927,7 +927,7 @@ module.exports.server = server;
return custom_routes.templates.map(function(tpl) {
return tpl.template.split('.tpl')[0];
});
}
};
plugins.ready(function() {
plugins.fireHook('filter:server.create_routes', custom_routes, function(err, custom_routes) {