예제 #1
0
 public function selectedDownload()
 {
     $id = Input::get('id');
     $data = DownloadPost::where('id', '=', $id)->first();
     return response()->json($data);
 }
예제 #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);
 }