/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $backgrounds = Background::get(); return view('Admin::background.index', ['backgrounds' => $backgrounds]); }