17 lines
405 B
TypeScript
Raw Normal View History

2019-08-31 20:51:14 -07:00
import EmberRouter from '@ember/routing/router';
import config from './config/environment';
export default class Router extends EmberRouter {
location = config.locationType;
rootURL = config.rootURL;
}
2019-08-31 20:51:14 -07:00
Router.map(function(): void {
this.route('lineage-test');
this.route('schema');
this.route('browse');
this.route('lineage', function() {
this.route('urn', { path: '/:urn' });
});
});