Example #1
0
 public function getPrivateVideos()
 {
     $videos = Video::where('onlymembers', true)->get();
     return view('videos.freevideo', compact('videos'));
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param  int  $id
  * @return Response
  */
 public function destroy($id)
 {
     $video = Video::findOrFail($id);
     $video->delete();
     return redirect()->to('/administration/video');
 }