Added carousel model
This commit is contained in:
parent
069cc0eb4c
commit
d9818f2749
6 changed files with 72 additions and 11 deletions
|
|
@ -31,7 +31,7 @@ class Conference < ActiveRecord::Base
|
|||
has_many :vdays, :dependent => :destroy
|
||||
has_many :vpositions, :dependent => :destroy
|
||||
has_many :vchoices, :dependent => :destroy
|
||||
|
||||
has_many :photos, dependent: :destroy
|
||||
belongs_to :venue
|
||||
|
||||
accepts_nested_attributes_for :rooms, :reject_if => proc {|r| r["name"].blank?}, :allow_destroy => true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue