From 8988233da897e8447a1dbdb700836fb8576e5e6b Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Wed, 11 Dec 2019 18:54:05 +0530 Subject: :tada: Initial Commit --- src/core/app.routes.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/core/app.routes.js (limited to 'src/core/app.routes.js') 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'] + } +]; -- cgit v1.2.3