Exemplo n.º 1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param  int $id
  * @return Response
  */
 public function destroy($id)
 {
     $member = BoardMember::findOrFail($id);
     $member->delete();
     \Flash::success('Bestuurslid verwijderd');
     return redirect('admin/board_members');
 }
Exemplo n.º 2
0
 public function bestuur()
 {
     $members = BoardMember::all();
     return view('pages.public.bestuur', compact('members'));
 }