skip to Main Content

Laravel Date assign errorr

I have small problem in app. Backend is Laravel and Front end is Nuxtjs. When User registered on app,then users must be wait antill Administartor approved. When Admin approved this user we give them 3 months subscription. In my code…

VIEW QUESTION

404 not found when i try to delete some of my post – Laravel

I try to delete some of my post with slug but it's not found. My route: Route::resource('/dashboard/berita', DashboardController::class)->parameters([ 'berita' => 'post:slug' ])->middleware('auth'); My Controller: public function destroy(Post $post) { $post->delete(); return redirect('/dashboard/berita')->with('success', 'Berita sudah dihapus!'); } My blade: <form action="{/dashboard/berita/{{…

VIEW QUESTION

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
Back To Top
Search