import Controller from 'ember-controller';
import injectService from 'ember-service/inject';
import injectController from 'ember-controller/inject';

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

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