This commit is contained in:
yuriko 🦊 2025-05-24 17:01:54 -04:00
parent afc1fb10bc
commit 8004c8d69e
Signed by: jaiden
SSH key fingerprint: SHA256:f8tvveBoXBrKZIQDWLLcpQrKbATUCGg98x2N4YzkDM8
12 changed files with 320 additions and 5 deletions

View file

@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\DeletionController;
use App\Livewire\App\Home as AppHome;
use App\Livewire\Pages\Upload as UploadPage;
use App\Livewire\Posts\Index as PostsPage;
@ -25,3 +26,8 @@ Route::middleware('auth')->prefix('posts')->group(function () {
return Storage::download("posts/$post->id/full", config('app.name') . "_$post->id.$post->extension");
});
});
// Object deletion routes
Route::middleware('auth')->prefix('delete')->controller(DeletionController::class)->group(function () {
Route::get('comment/{comment}', 'deleteComment');
});