linstrom/frontend-reactive/app/router.ts
mStar e802027236 I FUCKING DID IT
Added a helper component for managing a list of strings.
This component could, in theory, also be turned into a generic one
for any type of data
2024-10-24 16:15:08 +02:00

12 lines
306 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('registerform');
});