2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-07 12:02:53 +08:00

REFACTOR: support booting discourse with DISCOURSE_NO_CONSTANTS

This change is discussed here: https://meta.discourse.org/t/deprecating-es6-compatibility-layer/35821

Prior to this change we were not booting correctly with DISCOURSE_NO_CONSTANTS
This commit is contained in:
Sam 2015-11-21 00:14:50 +11:00
parent f5b34d5f53
commit c0b277d273
98 changed files with 380 additions and 379 deletions

View file

@ -1,7 +1,9 @@
import AdminUser from 'admin/models/admin-user';
export default Discourse.Route.extend({
model: function(params) {
this.userFilter = params.filter;
return Discourse.AdminUser.findAll(params.filter);
return AdminUser.findAll(params.filter);
},
setupController: function(controller, model) {