示例#1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function show($slug)
 {
     $reel = Reel::findBySlugOrFail($slug);
     //dd($reel->clips);
     //$reel->image = Storage::get('1453469703phpBQmNa5.PNG');
     //dd($reel);
     return view('public.show', compact('reel'));
 }
示例#2
0
 /**
  * Show the form for editing the specified resource.
  *
  * @param  int  $id
  * @return \Illuminate\Http\Response
  */
 public function edit($slug)
 {
     $reel = Reel::findBySlugOrFail($slug);
     // dd($reel->clips);
     return view('reels.edit', compact('reel'));
 }