FIX: Broken links on categories page

This commit is contained in:
Robin Ward 2013-11-18 16:59:19 -05:00
parent 6e3de67977
commit 9aa2bd068a

View File

@ -36,15 +36,15 @@ Discourse.Category = Discourse.Model.extend({
}.property('name'),
unreadUrl: function() {
return this.get('url') + '/unread';
return this.get('url') + '/l/unread';
}.property('url'),
newUrl: function() {
return this.get('url') + '/new';
return this.get('url') + '/l/new';
}.property('url'),
style: function() {
return "background-color: #" + (this.get('category.color')) + "; color: #" + (this.get('category.text_color')) + ";";
return "background-color: #" + this.get('category.color') + "; color: #" + (this.get('category.text_color')) + ";";
}.property('color', 'text_color'),
moreTopics: function() {