framework/ember/app/routes/user/activity.js
2015-03-17 17:06:12 +10:30

13 lines
279 B
JavaScript

import Ember from 'ember';
export default Ember.Route.extend({
model: function() {
return Ember.RSVP.resolve(Ember.ArrayProxy.create());
},
setupController: function(controller, model) {
controller.set('model', model);
controller.send('loadResults');
}
});