Fix change username

This commit is contained in:
Neil Lalonde 2013-06-12 11:24:32 -04:00
parent 1a1115321d
commit 8c888f424b
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@ Discourse.PreferencesUsernameRoute = Discourse.RestrictedUserRoute.extend({
},
setupController: function(controller, user) {
controller.set('model', user);
controller.set('newUsername', user.get('username'));
}