Add stats route

This commit is contained in:
2021-08-12 10:19:28 +02:00
parent 2459331c62
commit d62674db00
3 changed files with 14 additions and 6 deletions

View File

@@ -3,9 +3,9 @@ import Application from "@ioc:Adonis/Core/Application";
Route.get('/discord', 'ProfileController.discord')
Route.get('/me', 'ProfileController.me')
Route.get('/stats', 'StatsController.index')
Route.group(() => {
Route.resource('/users', 'UsersController').except(['edit', 'create'])
Route.resource('/translations', 'TranslationsController').except(['edit', 'create'])