mirror of
https://github.com/sp-tarkov/forge.git
synced 2025-02-13 04:30:41 -05:00
add routes
This commit is contained in:
parent
fa97936ddb
commit
7d3c933be4
@ -20,6 +20,8 @@ Route::middleware(['auth.banned'])->group(function () {
|
||||
Route::controller(ModController::class)->group(function () {
|
||||
Route::get('/mods', 'index')->name('mods');
|
||||
Route::get('/mod/{mod}/{slug}', 'show')->where(['mod' => '[0-9]+'])->name('mod.show');
|
||||
Route::post('/mod/{mod}', 'update')->where(['mod' => '[0-9]+'])->name('mod.update');
|
||||
Route::delete('/mod/{mod}', 'destroy')->where(['mod' => '[0-9]+'])->name('mod.destroy');
|
||||
});
|
||||
|
||||
// Download Link
|
||||
|
Loading…
x
Reference in New Issue
Block a user