From 9d8c48817dc0e4a772790a4a75c4c73a8ce544b5 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Sat, 20 Nov 2021 11:27:38 +0100 Subject: [PATCH] Fixed: Show course messages --- app/Course/Controllers/CourseController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Course/Controllers/CourseController.php b/app/Course/Controllers/CourseController.php index 547dc9fb..18c45df3 100644 --- a/app/Course/Controllers/CourseController.php +++ b/app/Course/Controllers/CourseController.php @@ -17,20 +17,20 @@ class CourseController extends Controller { $request->persist($member); - return redirect()->back(); + return redirect()->back()->success('Ausbildung erstellt'); } public function update(Member $member, CourseMember $course, UpdateRequest $request): RedirectResponse { $request->persist($member, $course); - return redirect()->back(); + return redirect()->back()->success('Ausbildung aktualisiert'); } public function destroy(Member $member, CourseMember $course, DestroyRequest $request): RedirectResponse { $request->persist($member, $course); - return redirect()->back(); + return redirect()->back()->success('Ausbildung gelöscht'); } }