diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index f2327e8..eff3203 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -41,7 +41,7 @@ class HomeController extends Controller public function photo() { $photos = DB::table('actionfotos') - ->join('attraction', 'attraction.id', '=', 'actionfotos.ride') + ->join('attractions', 'attraction.id', '=', 'actionfotos.ride') ->where('actionfotos.uuid', '=', Auth::user()->uuid) ->select('actionfotos.base64') ->get()->all();