mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 18:17:29 -05:00
15 lines
303 B
Text
15 lines
303 B
Text
|
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()
|
||
|
});
|
||
|
}
|
||
|
});
|