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