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