mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-25 17:10:27 +01:00
Add check middleware
This commit is contained in:
@@ -29,4 +29,4 @@ Route.group(() => {
|
|||||||
}).prefix('/posts')
|
}).prefix('/posts')
|
||||||
|
|
||||||
Route.resource('/subscribers', 'SubscribersController').only(['index', 'store', 'destroy'])
|
Route.resource('/subscribers', 'SubscribersController').only(['index', 'store', 'destroy'])
|
||||||
}).middleware('auth')
|
}).middleware('auth:web,api')
|
||||||
|
|||||||
Reference in New Issue
Block a user