mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 00:32:52 +08:00
7 lines
274 B
JavaScript
7 lines
274 B
JavaScript
import registerUnbound from 'discourse/helpers/register-unbound';
|
|
|
|
registerUnbound('topic-link', function(topic) {
|
|
var title = topic.get('fancyTitle');
|
|
return new Handlebars.SafeString("<a href='" + topic.get('lastUnreadUrl') + "' class='title'>" + title + "</a>");
|
|
});
|