From e3cf8b17ba5d38cdc1f7658cf817cf062648e046 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 13 Aug 2015 17:28:38 -0400 Subject: [PATCH] FIX: Regression saving custom user title --- .../javascripts/admin/controllers/admin-user-index.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 b/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 index 0ad12bfccca..2906a4cf878 100644 --- a/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 +++ b/app/assets/javascripts/admin/controllers/admin-user-index.js.es6 @@ -36,7 +36,7 @@ export default Ember.Controller.extend(CanCheckEmails, { saveTitle() { const self = this; - return Discourse.ajax("/users/" + this.get('username').toLowerCase(), { + return Discourse.ajax("/users/" + this.get('model.username').toLowerCase(), { data: {title: this.get('title')}, type: 'PUT' }).catch(function(e) {