ES6: Just a few more controllers

This commit is contained in:
Robin Ward 2014-05-14 11:38:05 -04:00
parent eb7aab3e0b
commit f90548f88a
4 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
@namespace Discourse
@module Discourse
**/
Discourse.PreferencesController = Discourse.ObjectController.extend({
export default Discourse.ObjectController.extend({
allowAvatarUpload: Discourse.computed.setting('allow_uploaded_avatars'),
allowUserLocale: Discourse.computed.setting('allow_user_locale'),

View File

@ -6,7 +6,7 @@
@namespace Discourse
@module Discourse
**/
Discourse.PreferencesBadgeTitleController = Ember.ArrayController.extend({
export default Ember.ArrayController.extend({
saving: false,
saved: false,

View File

@ -6,7 +6,7 @@
@namespace Discourse
@module Discourse
**/
Discourse.PreferencesEmailController = Discourse.ObjectController.extend({
export default Discourse.ObjectController.extend({
taken: false,
saving: false,
error: false,

View File

@ -6,7 +6,7 @@
@namespace Discourse
@module Discourse
**/
Discourse.PreferencesUsernameController = Discourse.ObjectController.extend({
export default Discourse.ObjectController.extend({
taken: false,
saving: false,
error: false,