TanchoToplineCargo/routes/CRUDgenerated/route.partners.php

14 lines
1.0 KiB
PHP
Raw Normal View History

2024-05-05 04:47:49 +00:00
<?php
use App\Http\Controllers\PartnersController;
use Illuminate\Support\Facades\Route;
Route::prefix("partners")->group(function () {
Route::get('/', [PartnersController::class, 'index'])->name('partners.index');
Route::get('/create', [PartnersController::class, 'create'])->name('partners.create');
Route::post('/store', [PartnersController::class, 'store'])->name('partners.store');
Route::post('/sort', [PartnersController::class, 'sort'])->name('partners.sort');
Route::post('/updatealias', [PartnersController::class, 'updatealias'])->name('partners.updatealias');
Route::get('/show/{id}', [PartnersController::class, 'show'])->name('partners.show');
Route::get('/edit/{id}', [PartnersController::class, 'edit'])->name('partners.edit') ;
Route::post('/update/{id}', [PartnersController::class, 'update'])->name('partners.update');
Route::delete('/destroy/{id}', [PartnersController::class, 'destroy'])->name('partners.destroy');
});