Fixed: Show course messages
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
ef20eee81d
commit
9d8c48817d
|
@ -17,20 +17,20 @@ class CourseController extends Controller
|
||||||
{
|
{
|
||||||
$request->persist($member);
|
$request->persist($member);
|
||||||
|
|
||||||
return redirect()->back();
|
return redirect()->back()->success('Ausbildung erstellt');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function update(Member $member, CourseMember $course, UpdateRequest $request): RedirectResponse
|
public function update(Member $member, CourseMember $course, UpdateRequest $request): RedirectResponse
|
||||||
{
|
{
|
||||||
$request->persist($member, $course);
|
$request->persist($member, $course);
|
||||||
|
|
||||||
return redirect()->back();
|
return redirect()->back()->success('Ausbildung aktualisiert');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function destroy(Member $member, CourseMember $course, DestroyRequest $request): RedirectResponse
|
public function destroy(Member $member, CourseMember $course, DestroyRequest $request): RedirectResponse
|
||||||
{
|
{
|
||||||
$request->persist($member, $course);
|
$request->persist($member, $course);
|
||||||
|
|
||||||
return redirect()->back();
|
return redirect()->back()->success('Ausbildung gelöscht');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue