/** * Display the specified resource. * * @param int $id * @return \Illuminate\Http\Response */ public function show($id) { $coupon = Coupon::findorFail($id); $brands = BrandLimit::lists('brand_name', 'brand_id'); return view('back.coupon.check.show', compact('coupon', 'brands')); }