first commit
This commit is contained in:
14
routes/CRUDgenerated/route.photos.php
Normal file
14
routes/CRUDgenerated/route.photos.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
use App\Http\Controllers\PhotosController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
Route::prefix("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::delete('/destroy/{id}', [PhotosController::class, 'destroy'])->name('photos.destroy');
|
||||
});
|
Reference in New Issue
Block a user