mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 21:33:49 +08:00
d4a05825da
- Uses store for `PostStream`, `TopicList` too
10 lines
323 B
JavaScript
10 lines
323 B
JavaScript
import UserTopicListRoute from "discourse/routes/user-topic-list";
|
|
|
|
export default UserTopicListRoute.extend({
|
|
userActionType: Discourse.UserAction.TYPES.topics,
|
|
|
|
model: function() {
|
|
return this.store.findFiltered('topicList', {filter: 'topics/created-by/' + this.modelFor('user').get('username_lower') });
|
|
}
|
|
});
|