sync
This commit is contained in:
parent
c75acc48a2
commit
5dbf3d9af2
10 changed files with 114 additions and 66 deletions
|
@ -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");
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue