ES6: Just a few more controllers
This commit is contained in:
parent
eb7aab3e0b
commit
f90548f88a
|
@ -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'),
|
|
@ -6,7 +6,7 @@
|
|||
@namespace Discourse
|
||||
@module Discourse
|
||||
**/
|
||||
Discourse.PreferencesBadgeTitleController = Ember.ArrayController.extend({
|
||||
export default Ember.ArrayController.extend({
|
||||
saving: false,
|
||||
saved: false,
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
@namespace Discourse
|
||||
@module Discourse
|
||||
**/
|
||||
Discourse.PreferencesEmailController = Discourse.ObjectController.extend({
|
||||
export default Discourse.ObjectController.extend({
|
||||
taken: false,
|
||||
saving: false,
|
||||
error: false,
|
|
@ -6,7 +6,7 @@
|
|||
@namespace Discourse
|
||||
@module Discourse
|
||||
**/
|
||||
Discourse.PreferencesUsernameController = Discourse.ObjectController.extend({
|
||||
export default Discourse.ObjectController.extend({
|
||||
taken: false,
|
||||
saving: false,
|
||||
error: false,
|
Loading…
Reference in New Issue