diff options
Diffstat (limited to 'src/core/app.routes.js')
-rw-r--r-- | src/core/app.routes.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/app.routes.js b/src/core/app.routes.js new file mode 100644 index 0000000..5d06e63 --- /dev/null +++ b/src/core/app.routes.js @@ -0,0 +1,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'] + } +]; |