mirror of
https://github.com/flarum/framework.git
synced 2024-12-14 08:03:37 +08:00
13 lines
279 B
JavaScript
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');
|
|
}
|
|
});
|