style fixing

This commit is contained in:
Roberto Guagliardo
2025-07-09 02:37:23 +02:00
parent ca5719474c
commit 195f20bb69
23 changed files with 68 additions and 51 deletions

View File

@@ -10,6 +10,7 @@ class EducationController extends Controller
public function index()
{
$educations = Education::with('media')->latest()->get();
return view('educations.index', compact('educations'));
}
@@ -73,6 +74,7 @@ class EducationController extends Controller
public function destroy(Education $education)
{
$education->delete();
return redirect()->route('educations.index')->with('success', 'Opleiding verwijderd.');
}
}