This commit is contained in:
Melody Becker 2024-09-20 16:35:59 +02:00
parent c75acc48a2
commit 5dbf3d9af2
10 changed files with 114 additions and 66 deletions

View file

@ -1,15 +1,11 @@
import EmberRouter from '@ember/routing/router';
import config from 'frontend-reactive/config/environment';
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;
location = config.locationType;
rootURL = config.rootURL;
}
Router.map(function () {
this.route('about');
this.route('notes', function () {
this.route(':note_id');
});
this.route("about");
});