import Controller from 'ember-controller';
import Ember from 'ember';
import SendRouteAction from 'web-client/mixins/send-route-action';

const { inject } = Ember;

export default Controller.extend(SendRouteAction, {
  layout: inject.service(),
  manager: inject.controller(),

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