16 lines
1.3 KiB
PHP
16 lines
1.3 KiB
PHP
<?php
|
|
use App\Http\Controllers\CompanytypesController;
|
|
use Illuminate\Support\Facades\Route;
|
|
Route::prefix("companytypes")->group(function () {
|
|
Route::get('/', [CompanytypesController::class, 'index'])->name('companytypes.index');
|
|
Route::get('/create', [CompanytypesController::class, 'create'])->name('companytypes.create');
|
|
Route::post('/store', [CompanytypesController::class, 'store'])->name('companytypes.store');
|
|
Route::post('/sort', [CompanytypesController::class, 'sort'])->name('companytypes.sort');
|
|
Route::post('/updatealias', [CompanytypesController::class, 'updatealias'])->name('companytypes.updatealias');
|
|
Route::get('/show/{id}', [CompanytypesController::class, 'show'])->name('companytypes.show');
|
|
Route::get('/edit/{id}', [CompanytypesController::class, 'edit'])->name('companytypes.edit') ;
|
|
Route::post('/update/{id}', [CompanytypesController::class, 'update'])->name('companytypes.update');
|
|
Route::get('/destroy/{id}', [CompanytypesController::class, 'destroy'])->name('companytypes.destroy');
|
|
Route::get('/toggle/{id}', [CompanytypesController::class, 'toggle'])->name('companytypes.toggle');
|
|
Route::get('/clone/{id}', [CompanytypesController::class, 'clone'])->name('companytypes.clone');
|
|
}); |