little progress and bugfixes

This commit is contained in:
Ronald A. Richardson
2024-09-06 12:17:30 +08:00
parent c60c460257
commit ea47bdc09d
10 changed files with 59 additions and 12 deletions

View File

@@ -7,6 +7,7 @@ export default class Router extends EmberRouter {
}
Router.map(function () {
this.route('install');
this.route('auth', function () {
this.route('login', { path: '/' });
this.route('forgot-password');
@@ -22,6 +23,9 @@ Router.map(function () {
this.route('for-driver', { path: '/fleet/:public_id' });
this.route('for-user', { path: '/org/:public_id' });
});
this.route('portal', function () {
this.route('account');
});
this.route('console', { path: '/' }, function () {
this.route('home', { path: '/' });
this.route('notifications');
@@ -59,6 +63,4 @@ Router.map(function () {
});
});
});
this.route('portal');
this.route('install');
});