mirror of
https://github.com/NyaaStudios/nyaabooru.git
synced 2025-12-10 05:42:58 +00:00
update
This commit is contained in:
parent
afc1fb10bc
commit
8004c8d69e
12 changed files with 320 additions and 5 deletions
|
|
@ -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');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue