0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/client/controllers/settings/users/index.js
Maurice Williams 972831c733 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

9 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;