skip to Main Content

Laravel PUT Request

I have a problem when i am trying to update in my table it wont updated and return data [] Function update in Controller public function update(StorePersonRequest $request, Person $person) { $person->update($request->all()); return new PersonResource($person); } StorePersonRequest : class StorePersonRequest…

VIEW QUESTION

Laravel route with inertia and slash route

I installed and configured the inertia on my laravel app and wanted to create also an admin along with the already established single page functionality on my app and wanted to group it under /admin Route::prefix('/admin')->group(function(){ Route::get('/login',[AdminController::class, 'login'])->name('admin.login'); }); the…

VIEW QUESTION
Back To Top
Search