/**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     //
     $pendings = friendship::where('follower_id', Auth::user()->id)->where('status', friendship::STATUS_PENDING)->get();
     return view('player.social', ['pendings' => $pendings]);
 }
 public function deny($id)
 {
     $req = friendship::find($id);
     if ($req) {
         $req->delete();
     }
     return Response::json(array('success' => true));
 }