mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 23:36:18 +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');
|
||
|
}
|
||
|
});
|