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'); } }