mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Broken links on categories page
This commit is contained in:
@@ -36,15 +36,15 @@ Discourse.Category = Discourse.Model.extend({
|
|||||||
}.property('name'),
|
}.property('name'),
|
||||||
|
|
||||||
unreadUrl: function() {
|
unreadUrl: function() {
|
||||||
return this.get('url') + '/unread';
|
return this.get('url') + '/l/unread';
|
||||||
}.property('url'),
|
}.property('url'),
|
||||||
|
|
||||||
newUrl: function() {
|
newUrl: function() {
|
||||||
return this.get('url') + '/new';
|
return this.get('url') + '/l/new';
|
||||||
}.property('url'),
|
}.property('url'),
|
||||||
|
|
||||||
style: function() {
|
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'),
|
}.property('color', 'text_color'),
|
||||||
|
|
||||||
moreTopics: function() {
|
moreTopics: function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user