mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:23:13 +08:00
15 lines
303 B
JavaScript
15 lines
303 B
JavaScript
import UserField from 'admin/models/user-field';
|
|
|
|
export default Ember.Route.extend({
|
|
model: function() {
|
|
return UserField.findAll();
|
|
},
|
|
|
|
setupController: function(controller, model) {
|
|
controller.setProperties({
|
|
model: model,
|
|
fieldTypes: UserField.fieldTypes()
|
|
});
|
|
}
|
|
});
|