created User-Model and Employee-Model

This commit is contained in:
Sockenklaus
2021-10-16 23:19:50 +02:00
parent 4acf451351
commit 93e2b9c445
20 changed files with 2958 additions and 88 deletions

View File

@@ -38,4 +38,6 @@ Server.middleware.register([() => import('@ioc:Adonis/Core/BodyParser')])
| Route.get('dashboard', 'UserController.dashboard').middleware('auth')
|
*/
Server.middleware.registerNamed({})
Server.middleware.registerNamed({
auth: () => import('App/Middleware/Auth')
})