import Route from 'ember-route';
import { CSGO } from 'web-client/utilities/game-names';
import VideoTypeMixin from 'web-client/mixins/video-type';

export default Route.extend(VideoTypeMixin, {
  model: function ({ videoType }) {
    return this._modelForVideoType({
      videoType,
      defaultRoute: 'directory.csgo.videos.video-type',
      searchParams: { game: CSGO },
      videoCollection: 'game'
    });
  }
});
