mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 08:39:38 -05:00
14 lines
307 B
JavaScript
14 lines
307 B
JavaScript
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()
|
|
});
|
|
}
|
|
});
|