mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
Added PhysicalTicket model and controller. It holds the information about each physical ticket bought at the purchase. Physical Tickets are created after every successfull payment.
6 lines
213 B
Ruby
6 lines
213 B
Ruby
class PhysicalTicket < ActiveRecord::Base
|
|
belongs_to :ticket_purchase
|
|
has_one :ticket, through: :ticket_purchase
|
|
has_one :conference, through: :ticket_purchase
|
|
has_one :user, through: :ticket_purchase
|
|
end
|