Ghost/ghost/admin/controllers/settings/users/index.js
Maurice Williams b2d4dd4f17 Implementation of "invite a new user" modal
Closes #3079
- new controller and template for invite-new-user-modal
- actually triggers email invite via POST /ghost/api/v0.1/users/
- setting default language value (on the client) when creating a user
- only available role is "Author" - pending 3196
- updates to UsersIndexController to allow dynamic property calculation and template rending
2014-07-06 16:18:51 -04:00

10 lines
287 B
JavaScript

var UsersIndexController = Ember.ArrayController.extend({
users: Ember.computed.alias('model'),
activeUsers: Ember.computed.filterBy('users', 'status', 'active'),
invitedUsers: Ember.computed.filterBy('users', 'status', 'invited')
});
export default UsersIndexController;