Ok, so i made a view with edit button in it, pretty much just like update your profile button when you open your facebook profile. My route :
Route::get('dashboard/village-location/{village-location}/edit', 'VillageController@editvl');
Controller :
public function editvl(VLocation $location) {
return view('dashboard/village/editvl', compact('location'));
}
The view :
<p>
<a href="" class="btn btn-info">Edit</a>
</p>
Whenever I click the edit button, the edit form won't show up. If someone can help that'd be great, thanks!
via PrestonGarvey22