mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
5c899c765b
This reverts commit c21457d6a7
.
17 lines
402 B
JavaScript
17 lines
402 B
JavaScript
import AdminUser from 'admin/models/admin-user';
|
|
|
|
export default Discourse.Route.extend({
|
|
model: function(params) {
|
|
this.userFilter = params.filter;
|
|
return AdminUser.findAll(params.filter);
|
|
},
|
|
|
|
setupController: function(controller, model) {
|
|
controller.setProperties({
|
|
model: model,
|
|
query: this.userFilter,
|
|
showEmails: false,
|
|
refreshing: false,
|
|
});
|
|
}
|
|
});
|