all files / tests/dummy/app/ router.js

100% Statements 15/15
100% Branches 0/0
100% Functions 5/5
100% Lines 15/15
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31                               
import EmberRouter from '@ember/routing/router';
import config from './config/environment';
 
const Router = EmberRouter.extend({
  location: config.locationType,
  rootURL: config.rootURL
});
 
Router.map(function() {
  this.route('soundfonts', function() {
    this.route('notes');
  });
  this.route('audio-files', function() {
    this.route('simple', { path: '/' });
    this.route('mp3-player');
    this.route('drum-kit');
  });
  this.route('audio-routing');
  this.route('timing', function() {
    this.route('drum-machine');
    this.route('with-ember-audio');
  });
  this.route('synthesis', function() {
    this.route('drum-kit');
    this.route('xy-pad');
  });
});
 
export default Router;