mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Integrate the schedule in the admin interface while adapting it to the new associations and models.
9 lines
150 B
Ruby
9 lines
150 B
Ruby
class EventSchedule < ActiveRecord::Base
|
|
belongs_to :schedule
|
|
belongs_to :event
|
|
belongs_to :room
|
|
|
|
def room_guid
|
|
room.try(:guid)
|
|
end
|
|
end
|