Skip to content
Snippets Groups Projects
router.js 352 B
Newer Older
  • Learn to ignore specific revisions
  • import EmberRouter from '@ember/routing/router';
    import config from 'papermerge/config/environment';
    
    export default class Router extends EmberRouter {
      location = config.locationType;
      rootURL = config.rootURL;
    }
    
    
    Router.map(function () {
      this.route('documents');
    
    Eugen Ciur's avatar
    Eugen Ciur committed
      this.route('about');
      this.route('contact', { path: '/getting-in-touch' });