new page_content app
This commit is contained in:
1 parent
b0834c0c62
commit
9b001aa6c3
66 files changed
+1367
No files matched your search
@@ -7,6 +7,7 @@ class Page < Item
|
||||
belongs_to :design
|
||||
belongs_to :module_app
|
||||
has_many :page_parts, :autosave => true, :dependent => :destroy
|
||||
has_many :page_contexts, :autosave => true, :dependent => :destroy
|
||||
accepts_nested_attributes_for :page_parts, :allow_destroy => true
|
||||
|
||||
before_save :create_parts
|
||||
|
||||
Reference in new issue
Block a user