all files / app/ router.js

100% Statements 7/7
100% Branches 0/0
100% Functions 1/1
100% Lines 7/7
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19              21× 21× 21× 21× 21×          
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('calculator');
  this.route('async-calculator');
  this.route('inputs');
  this.route('html-render');
  this.route('dynamic', { path: '/users/:user_id/comments/:comment_id' });
});
 
export default Router;