aboutsummaryrefslogtreecommitdiff
path: root/src/core/app.routes.js
diff options
context:
space:
mode:
authorIndrajith K L2019-12-11 18:54:05 +0530
committerIndrajith K L2019-12-11 18:54:05 +0530
commit8988233da897e8447a1dbdb700836fb8576e5e6b (patch)
tree0bcaaf9657f35320ea110085ed0c40f815100a55 /src/core/app.routes.js
parent53e5edb3d93d957f82034be43940d560540525a8 (diff)
downloadreact-redux-saga-starter-8988233da897e8447a1dbdb700836fb8576e5e6b.tar.gz
react-redux-saga-starter-8988233da897e8447a1dbdb700836fb8576e5e6b.tar.bz2
react-redux-saga-starter-8988233da897e8447a1dbdb700836fb8576e5e6b.zip
:tada: Initial Commit
Diffstat (limited to 'src/core/app.routes.js')
-rw-r--r--src/core/app.routes.js15
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']
+ }
+];