Suppose to be in my controller.js and I need to redirect user on the user page.
...
var username=user//it's the username
res.render('/user/'+username);
but I obtain an error :
Object #<IncomingMessage> has no method 'csrfToken'
"/vagrant/nodebb/public/templates"
Anyone can help me?
Julian,
Yeah I saw this, but in fact it's more the way it's showed that I would like I know it's just presentation but this make it easy to show which category is the most active