/* globals i18n */

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

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

  activate() {
    this.set('layout.bypassApplicationLayout', true);
    this.get('headData').setTitle(i18n('Create on Twitch'));
  },

  deactivate() {
    this.set('layout.bypassApplicationLayout', false);
  }
});
