en_btr_frontend/app/router.js

20 lines
553 B
JavaScript
Raw Normal View History

import EmberRouter from '@ember/routing/router';
import config from 'gwt-frontend/config/environment';
export default class Router extends EmberRouter {
location = config.locationType;
rootURL = config.rootURL;
}
2020-10-05 03:45:40 +00:00
Router.map(function() {
2020-10-09 21:41:20 +00:00
this.route('verse', { path: '/verse/:verse_id' }, function() {
this.route('word', { path: '/word/:word_id' });
});
this.route('home', { path: '/' });
this.route('contributors');
this.route('user-guide');
this.route('site-purpose');
this.route('contact-us');
2021-04-09 16:15:37 +00:00
this.route('morph-legend');
2020-10-05 03:45:40 +00:00
});