funcional a parte de token
This commit is contained in:
@@ -16,10 +16,12 @@ Route::prefix('v1')->middleware(['jwt.auth'])->group(function () {
|
||||
Route::get('/rankings/weekly', [GameController::class, 'weeklyRanking']);
|
||||
Route::get('/rankings/monthly', [GameController::class, 'monthlyRanking']);
|
||||
Route::get('/rankings/yearly', [GameController::class, 'yearlyRanking']);
|
||||
Route::get('/rankings/history', [GameController::class, 'historyByQuery']);
|
||||
Route::get('/rankings/history/{id}', [GameController::class, 'history']);
|
||||
Route::get('/rankings/platforms/{platform}', [GameController::class, 'platformRanking']);
|
||||
|
||||
// Jogos
|
||||
Route::get('/games', [GameController::class, 'index']);
|
||||
Route::get('/games/most-played', [GameController::class, 'mostPlayed']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user