DEV: Convert mapping-router to native class syntax (#28513)
This commit is contained in:
parent
d1cc60c435
commit
87ae3f689c
|
@ -128,9 +128,9 @@ export function mapRoutes() {
|
|||
}
|
||||
});
|
||||
|
||||
return BareRouter.extend({
|
||||
rootURL: getURL("/"),
|
||||
}).map(function () {
|
||||
return class extends BareRouter {
|
||||
rootURL = getURL("/");
|
||||
}.map(function () {
|
||||
tree.mapRoutes(this);
|
||||
this.route("unknown", { path: "*path" });
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue