/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { // $banners = Banner::with('image')->get(); return view('admin/banner/banner', compact('banners')); }