/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index($auctionid = null) { $auctions = Auction::getAuctionsSimple(8); $auction = Auction::getAuctionForId($auctionid); return view('contact', compact('auctions', 'auction')); }