コード例 #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index()
 {
     $subscriptions = Subscription::latest()->paginate(20);
     $no = $subscriptions->firstItem();
     return view('subscriptions.index', compact('subscriptions', 'no'));
 }