mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 13:19:29 +08:00
FIX: Group posts had the wrong paths in subfolders
This commit is contained in:
parent
96e5a7da46
commit
a03e7cee63
|
@ -0,0 +1,6 @@
|
|||
import computed from 'ember-addons/ember-computed-decorators';
|
||||
|
||||
export default Ember.Component.extend({
|
||||
@computed('post.url')
|
||||
postUrl: Discourse.getURL
|
||||
});
|
|
@ -7,7 +7,7 @@
|
|||
<div class='group-post-info'>
|
||||
<div class="group-post-topic">
|
||||
<div class='group-post-title'>
|
||||
<a href={{post.url}}>{{{post.topic.fancyTitle}}}</a>
|
||||
<a href={{postUrl}}>{{{post.topic.fancyTitle}}}</a>
|
||||
</div>
|
||||
<div class="group-post-category">{{category-link post.category}}</div>
|
||||
{{#if post.user.name}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user