aboutsummaryrefslogtreecommitdiff
path: root/src/core/app.routes.js
blob: 5d06e63087f37db6659a0f905523106c26b8a2ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import AdminContainer from "../modules/admin/admin.container";
import SuperAdminContainer from "../modules/superadmin/superadmin.container";

export const AppRoutes = [
    {
        path: '/admin',
        component: AdminContainer,
        permission: ['admin','superadmin']
    },
    {
        path: '/superadmin',
        component: SuperAdminContainer,
        permission: ['admin', 'superadmin', 'user']
    }
];