Add Achievements Routes

main
Alex 2 years ago
parent c3127f1c11
commit 6afa5da145

@ -4,6 +4,7 @@ use App\Http\Controllers\ProfileController;
use Illuminate\Support\Facades\Route; use Illuminate\Support\Facades\Route;
use App\Http\Controllers\GamesController; use App\Http\Controllers\GamesController;
use App\Http\Controllers\IGDBController; 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::get('/games/link', [GamesController::class, 'create'])->name('games.create');
Route::post('/games/link', [GamesController::class, 'store'])->name('games.store'); Route::post('/games/link', [GamesController::class, 'store'])->name('games.store');
Route::get('/achievements', [AchievementController::class, 'showAchievements']);
Route::post('/achievements', [AchievementController::class, 'getAchievements']);

Loading…
Cancel
Save