HACK: to be fixed later by @eviltrout

This commit is contained in:
Sam 2014-08-08 15:07:04 +10:00
parent 3ea38b5749
commit cd20c8e55f
1 changed files with 4 additions and 0 deletions

View File

@ -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,