def reservation_index(): return object_list('reservations/index.html', query=get_all(Reservation), context_variable='reservations', paginate_by=7, check_bounds=False)
def company_index(): return object_list('companies/index.html', query=get_all(Company), context_variable='companies', paginate_by=7, check_bounds=False)
def room_type_index(): return render_template('room_types/index.html', room_types=get_all(RoomType))
def checkin_index(): return object_list('checkins/index.html', query=get_all(CheckIn), context_variable='checkins', paginate_by=7, check_bounds=False)
def user_index(): return object_list('users/index.html', query=get_all(User), context_variable='users', paginate_by=7, check_bounds=False)
def room_index(): return object_list('rooms/index.html', query=get_all(Room), context_variable='rooms', paginate_by=7, check_bounds=False)
def guest_index(): return object_list('guests/index.html', query=get_all(Guest), context_variable='guests', paginate_by=7, check_bounds=False)