From d8e52d7ebf6b40aabc04f45f8f6bf0cd4daa67b5 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Mon, 25 May 2015 13:27:59 -0400 Subject: [PATCH] closes https://github.com/NodeBB/nodebb-theme-persona/issues/87 --- src/socket.io/categories.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/socket.io/categories.js b/src/socket.io/categories.js index 8ed8881f68..dd2e130010 100644 --- a/src/socket.io/categories.js +++ b/src/socket.io/categories.js @@ -78,6 +78,11 @@ SocketCategories.loadMore = function(socket, data, callback) { } data.privileges = results.privileges; + data.template = { + category: true, + name: 'category' + }; + callback(null, data); }); });