/**
  * Store a newly created resource in storage.
  *
  * @param  \Illuminate\Http\Request  $request
  * @return \Illuminate\Http\Response
  */
 public function store(MembershipApplicationRequest $request)
 {
     //dd($request->all());
     MemApplicant::create($request->all());
     Flash::success('Application recieved. Please wait for confirmation');
     return redirect('/');
 }
Пример #2
0
 /**
  * Display the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function show($id)
 {
     $appli = MemApplicant::findOrFail($id);
     return view('admin.application.applicant', compact('appli'));
 }