This commit is contained in:
2026-09-02 09:19:43 +03:00
parent 74cb5b6176
commit 962f489142
34 changed files with 1190 additions and 124 deletions
@@ -0,0 +1,8 @@
import router from '@adonisjs/core/services/router'
import { middleware } from '#start/kernel'
const TenantController = () => import('#base_modules/Tenant/controller/tenant_controller')
router
.get('/tenants/current', [TenantController, 'current'])
.use([middleware.auth(), middleware.tenant()])