framework/ember/app/routes/user/activity.js

13 lines
279 B
JavaScript
Raw Normal View History

2015-03-17 14:36:12 +08:00
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');
}
});