/** * Display a listing of the resource. * * @return Response */ public function index() { $ship = Ship::paginate(5); //dd($ship); return view('ships.index', compact('ship')); }