Exemplo n.º 1
0
 public function index()
 {
     $coupons = Coupon::orderBy('created_at', 'DESC')->get();
     return view('admin.coupons.table')->with(['items' => $coupons]);
 }