/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $projects = ProjectGalleries::get(); return view('admin.projects.index', compact('projects')); }