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

View file

@ -32,7 +32,7 @@ export default Ember.Component.extend({
render: function(buffer) {
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(Discourse.Formatter.number(postsCount));