mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-08 07:16:49 +00:00
little progress and bugfixes
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user