mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 23:13:53 +08:00
16 lines
362 B
Plaintext
16 lines
362 B
Plaintext
|
export default Discourse.Route.extend({
|
||
|
model: function(params) {
|
||
|
this.userFilter = params.filter;
|
||
|
return Discourse.AdminUser.findAll(params.filter);
|
||
|
},
|
||
|
|
||
|
setupController: function(controller, model) {
|
||
|
controller.setProperties({
|
||
|
model: model,
|
||
|
query: this.userFilter,
|
||
|
showEmails: false,
|
||
|
refreshing: false,
|
||
|
});
|
||
|
}
|
||
|
});
|