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

View File

@ -0,0 +1,15 @@
<?php
use App\Http\Controllers\VisagrantpostsController;
use Illuminate\Support\Facades\Route;
Route::prefix("visagrantposts")->group(function () {
Route::get('/', [VisagrantpostsController::class, 'index'])->name('visagrantposts.index');
Route::get('/create', [VisagrantpostsController::class, 'create'])->name('visagrantposts.create');
Route::post('/store', [VisagrantpostsController::class, 'store'])->name('visagrantposts.store');
Route::post('/sort', [VisagrantpostsController::class, 'sort'])->name('visagrantposts.sort');
Route::post('/updatealias', [VisagrantpostsController::class, 'updatealias'])->name('visagrantposts.updatealias');
Route::get('/show/{id}', [VisagrantpostsController::class, 'show'])->name('visagrantposts.show');
Route::get('/edit/{id}', [VisagrantpostsController::class, 'edit'])->name('visagrantposts.edit') ;
Route::post('/update/{id}', [VisagrantpostsController::class, 'update'])->name('visagrantposts.update');
Route::delete('/destroy/{id}', [VisagrantpostsController::class, 'destroy'])->name('visagrantposts.destroy');
Route::get('/toggle/{id}', [VisagrantpostsController::class, 'toggle'])->name('visagrantposts.toggle');
});