HOME > Laravel> blade

データ接続

データの取得

Post::all()
Post::find($id)
Post::findOrFail($id);
 $idがなかった場合404