Exemplo n.º 1
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return Response
  */
 public function edit(Member $memberObj)
 {
     $memberSocialIdArr = Member::getMemberSocialIdArr($memberObj->id);
     $parentChildArr = CategoryParentAndChildren::getHierarchy();
     $categoriesArr = Category::getCategoriesArr();
     $memberCategoryIdArr = Member::getMemberCategoryIdArr($memberObj->id);
     return view('members.edit', compact('memberObj', 'memberSocialIdArr', 'parentChildArr', 'memberCategoryIdArr', 'categoriesArr'));
 }