/** * Display a listing of the resource. * * @return Response */ public function index() { $bookings = Booking::byYear('2015')->orderBy('created_at')->get(); return view('booking.index')->with(['bookings' => $bookings]); }