/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $possible_photos = PossiblePhoto::where('page_id', '=', $_GET)->get(); // $possible_photos = PossiblePhoto::orderBy('created_at', 'ASC')->get(); return view('possible_photos.index', compact('possible_photos')); }