Sort of working beta

This commit is contained in:
2025-02-06 17:30:45 +01:00
parent 5f42c707eb
commit 2ef114e154
97 changed files with 3093 additions and 106 deletions

View File

@ -1,15 +1,12 @@
<?php
use App\Http\Controllers\JobController;
use App\Models\Job;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
Route::get('/', function () {
return Inertia::render('Home');
});
})->name('home');
Route::get("/job/{jobId}", function ($jobId) {
return Inertia::render('Job', [
'job' => Job::find($jobId)
]);
});
Route::resource('jobs', JobController::class)->only(['show', 'update']);