EventSchedule validations
event, schedule, room and start_time are mandatory in EventSchedule.
This commit is contained in:
parent
354e15a76d
commit
0b26ed5c35
10 changed files with 26 additions and 15 deletions
|
|
@ -9,6 +9,6 @@ class EventScheduleSerializer < ActiveModel::Serializer
|
|||
end
|
||||
|
||||
def room
|
||||
object.room.try(:guid)
|
||||
object.room.guid
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue