/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { $api = Api::latest()->get(); return view('welcome', compact("api")); }