app/models/panda_cms/form.rb in panda_cms-0.3.6 vs app/models/panda_cms/form.rb in panda_cms-0.3.7
- old
+ new
@@ -1,5 +1,7 @@
module PandaCms
class Form < ApplicationRecord
self.table_name = "panda_cms_forms"
+
+ has_many :form_submissions, class_name: "PandaCms::FormSubmission"
end
end