UX: Make posts columns link to the last post in a topic.

This commit is contained in:
Robin Ward 2014-08-18 14:17:14 -04:00
parent b175abbfb5
commit 454c634b7e
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ export default Ember.Component.extend({
render: function(buffer) { render: function(buffer) {
var postsCount = this.get('topic.posts_count'), var postsCount = this.get('topic.posts_count'),
url = this.get('topic.lastUnreadUrl'); url = this.get('topic.lastPostUrl');
buffer.push("<a href='" + url + "' class='badge-posts " + this.get('likesHeat') + "'>"); buffer.push("<a href='" + url + "' class='badge-posts " + this.get('likesHeat') + "'>");
buffer.push(Discourse.Formatter.number(postsCount)); buffer.push(Discourse.Formatter.number(postsCount));