예제 #1
0
 public function destroyDownload()
 {
     $id = Input::get('id');
     DownloadPost::destroy($id);
     exit;
 }
예제 #2
0
 public function openedEpisode($id_eps)
 {
     $data = AnimePost::where('id', '=', $id_eps)->first();
     $download = DownloadPost::where('id_post', '=', $id_eps)->get();
     return view('admin\\episode\\moreEpisode')->with('data', $data)->with('download', $download);
 }