/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function getUpload($id) { $gallery = PhotoGallery::with('Photos')->find($id); return \View::make('photo_gallery::admin.galleries.upload')->with(compact('gallery')); }