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

8.33% Statements 2/24
100% Branches 0/0
0% Functions 0/2
8.33% Lines 2/24
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 32 33 34 35 36 37 38                                                                       
import Ember from 'ember';
import config from './config/environment';
 
const Router = Ember.Router.extend({
  location: config.locationType,
  rootURL: config.rootURL
});
 
Router.map(function() {
  this.route('modules', function() {
    this.route('introduction');
    this.route('usage');
    this.route('upgrading');
    this.route('base_mixin');
 
    this.route('accordion');
    this.route('checkbox');
    this.route('dimmer');
    this.route('dropdown');
    this.route('embed');
    this.route('modal');
    this.route('nag');
    this.route('popup');
    this.route('progress');
    this.route('radio');
    this.route('rating');
    this.route('search');
    this.route('shape');
    this.route('sidebar');
    this.route('sticky');
    this.route('tab');
    this.route('transition');
  });
});
 
export default Router;