discourse/app/assets/javascripts/admin/routes/admin-user-fields.js.es6

15 lines
307 B
Plaintext
Raw Normal View History

import UserField from 'admin/models/user-field';
export default Discourse.Route.extend({
model: function() {
return UserField.findAll();
},
setupController: function(controller, model) {
controller.setProperties({
model: model,
fieldTypes: UserField.fieldTypes()
});
}
});