예제 #1
0
 /**
  * Remove the specified resource from storage.
  *
  * @param Request $request
  * @param VoteSite $vote
  * @return \Illuminate\Http\Response
  */
 public function destroy(Request $request, VoteSite $vote)
 {
     if ($request->ajax()) {
         $vote->delete();
     }
 }