created User-Model and Employee-Model
This commit is contained in:
@@ -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')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user