/** * Show the form for editing the specified resource. * * @param Member $member * * @return Response * @internal param int $id */ public function edit(Member $member) { $district_list = District::districtDropdown(); return view('member.edit', compact('district_list', 'member')); }
/** * Show the form for editing the specified resource. * * @param StudyGroup $group * * @return Response */ public function edit(StudyGroup $group) { $district_list = District::districtDropdown(); $member_list = Member::memberDropdown(true); return view('study_group.edit', compact('district_list', 'member_list', 'group')); }