From 2a946d52e0bbf63b751c4df323dd7efbedd1bd43 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 25 Jun 2013 21:07:23 -0400 Subject: [PATCH] fixed incorrect twitter link generation in category view --- src/categories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/categories.js b/src/categories.js index 043b50ef89..42ddfa065b 100644 --- a/src/categories.js +++ b/src/categories.js @@ -31,7 +31,7 @@ var RDB = require('./redis.js'), 'category_id': category_id, 'active_users': [], 'topics' : [], - 'twitter-intent-url': 'https://twitter.com/intent/tweet?url=' + encodeURIComponent(global.config.url + 'category/' + category_id + '/' + category_slug) + '&text=' + encodeURIComponent(category_name) + 'twitter-intent-url': 'https://twitter.com/intent/tweet?url=' + encodeURIComponent(global.config.url + 'category/' + category_slug) + '&text=' + encodeURIComponent(category_name) }; function getTopics(next) {