Reservations now show on calendar

This commit is contained in:
Senad Uka
2024-09-08 14:00:15 +02:00
parent b258de57fb
commit ef4243ee2a
4 changed files with 11 additions and 10 deletions

View File

@@ -7,3 +7,7 @@ class Reservation < ApplicationRecord
validates :customer_id, presence: true
validates :team_id, presence: true
end
class ReservationSerializer < ActiveModel::Serializer
attributes :id, :company, :customer, :team, :start_time, :end_time
end