Calendar is shown
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
class Reservation < ApplicationRecord
|
||||
belongs_to :company
|
||||
belongs_to :customer
|
||||
belongs_to :place
|
||||
belongs_to :team
|
||||
|
||||
validates :company_id, presence: true
|
||||
validates :customer_id, presence: true
|
||||
validates :place_id, presence: true
|
||||
validates :team_id, presence: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user