import Controller from 'ember-controller';
import injectService from 'ember-service/inject';
import injectController from 'ember-controller/inject';
import SendRouteAction from 'web-client/mixins/send-route-action';

export default Controller.extend(SendRouteAction, {
  layout: injectService(),
  manager: injectController(),

  actions: {
    loadMore: function () {
      if (this.get('model')) {
        this.get('model').loadMore();
      }
    }
  }
});
