From 6afa5da145e9140bc6375608d92bd5defcfc8715 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 5 Jun 2023 21:42:28 +0200 Subject: [PATCH] Add Achievements Routes --- routes/web.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/routes/web.php b/routes/web.php index 1734d3a..07772cd 100644 --- a/routes/web.php +++ b/routes/web.php @@ -4,6 +4,7 @@ use App\Http\Controllers\ProfileController; use Illuminate\Support\Facades\Route; use App\Http\Controllers\GamesController; use App\Http\Controllers\IGDBController; +use App\Http\Controllers\AchievementController2; /* |-------------------------------------------------------------------------- @@ -38,3 +39,6 @@ Route::get('/games/show/{slug}',[GamesController::class, 'show'])->name('games.s Route::get('/games/link', [GamesController::class, 'create'])->name('games.create'); Route::post('/games/link', [GamesController::class, 'store'])->name('games.store'); +Route::get('/achievements', [AchievementController::class, 'showAchievements']); +Route::post('/achievements', [AchievementController::class, 'getAchievements']); +