lib/mokio/concerns/models/contact_template.rb in mokio-0.0.13 vs lib/mokio/concerns/models/contact_template.rb in mokio-0.0.14
- old
+ new
@@ -6,9 +6,13 @@
#
module ContactTemplate
extend ActiveSupport::Concern
included do
+
+ belongs_to :base_contact
+ accepts_nested_attributes_for :base_contact
+
belongs_to :contact
accepts_nested_attributes_for :contact
end
module ClassMethods
\ No newline at end of file