mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 21:10:17 +08:00
HACK: to be fixed later by @eviltrout
This commit is contained in:
parent
3ea38b5749
commit
cd20c8e55f
|
@ -5,7 +5,11 @@ Discourse.UserTopicListRoute = Discourse.Route.extend({
|
|||
|
||||
setupController: function(controller, model) {
|
||||
this.controllerFor('user').set('indexStream', false);
|
||||
try {
|
||||
this.controllerFor('user_activity').set('userActionType', this.get('userActionType'));
|
||||
} catch (e){
|
||||
/* ROBIN FIX ME: fails on reload of PM */
|
||||
}
|
||||
this.controllerFor('user_topics_list').setProperties({
|
||||
model: model,
|
||||
hideCategory: false,
|
||||
|
|
Loading…
Reference in New Issue
Block a user