mStar
c75acc48a2
Placeholder files for future app structure Also figured out how to have root url code stuff
15 lines
347 B
TypeScript
15 lines
347 B
TypeScript
import EmberRouter from '@ember/routing/router';
|
|
import config from 'frontend-reactive/config/environment';
|
|
|
|
export default class Router extends EmberRouter {
|
|
location = config.locationType;
|
|
rootURL = config.rootURL;
|
|
}
|
|
|
|
Router.map(function () {
|
|
this.route('about');
|
|
|
|
this.route('notes', function () {
|
|
this.route(':note_id');
|
|
});
|
|
});
|