FIX: Inconsistent loading of user profiel page (expanded/unexpanded top

area)
This commit is contained in:
Robin Ward 2014-11-13 16:30:58 -05:00
parent 0d12ed2231
commit 9520cc0613
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import ObjectController from 'discourse/controllers/object';
import CanCheckEmails from 'discourse/mixins/can-check-emails'; import CanCheckEmails from 'discourse/mixins/can-check-emails';
export default ObjectController.extend(CanCheckEmails, { export default ObjectController.extend(CanCheckEmails, {
indexStream: true,
needs: ['user-notifications', 'user_topics_list'], needs: ['user-notifications', 'user_topics_list'],
viewingSelf: function() { viewingSelf: function() {

View File

@ -1,6 +1,7 @@
export default Discourse.Route.extend({ export default Discourse.Route.extend({
beforeModel: function() { beforeModel: function() {
this.controllerFor('user').set('indexStream', true);
return this.replaceWith('userActivity'); return this.replaceWith('userActivity');
} }