mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -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()
|
|
});
|
|
}
|
|
});
|