Rounded user thumbnail in navbar

This commit is contained in:
Sahat Yalkabov
2013-12-07 14:56:36 -05:00
parent ccefcf5107
commit 2ceb35d036
3 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,7 @@ exports.getFoursquare = function(req, res) {
*/
exports.getTumblr = function(req, res) {
var token = _.findWhere(req.user.tokens, { kind: 'tumblr' });
// TODO: MIDDLEWARE
if (!token) {
return res.render('api/unauthorized', {
title: 'Tumblr API',