first commit

This commit is contained in:
2025-07-07 18:01:52 +05:45
commit 71241f5167
2095 changed files with 112735 additions and 0 deletions

16
routes/route.photos.php Normal file
View File

@ -0,0 +1,16 @@
<?php
use App\Http\Controllers\PhotosController;
use Illuminate\Support\Facades\Route;
Route::prefix("admin/photos")->group(function () {
Route::get('/', [PhotosController::class, 'index'])->name('photos.index');
Route::get('/create', [PhotosController::class, 'create'])->name('photos.create');
Route::post('/store', [PhotosController::class, 'store'])->name('photos.store');
Route::post('/sort', [PhotosController::class, 'sort'])->name('photos.sort');
Route::post('/updatealias', [PhotosController::class, 'updatealias'])->name('photos.updatealias');
Route::get('/show/{id}', [PhotosController::class, 'show'])->name('photos.show');
Route::get('/edit/{id}', [PhotosController::class, 'edit'])->name('photos.edit') ;
Route::post('/update/{id}', [PhotosController::class, 'update'])->name('photos.update');
Route::get('/destroy/{id}', [PhotosController::class, 'destroy'])->name('photos.destroy');
Route::get('/list/{id}', [PhotosController::class, 'list'])->name('photos.list');
Route::post('/storephotos/{gallery_id}', [PhotosController::class, 'storegalleryphotos'])->name('photos.storegalleryphotos');
});