/** * 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')); }
/** * 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')); }