/* globals i18n */

import injectService from 'ember-service/inject';
import Route from 'ember-route';

export default Route.extend({
  api: injectService(),
  headData: injectService(),

  model() {
    let parentModel = this.modelFor('directory.creative');
    return parentModel.game;
  },

  buildPageTitle() {
    return {
      title: `Communities - ${i18n('Creative')}`
    };
  }
});
