Class: Spina::Pro::PageRevision
- Inherits:
-
ApplicationRecord
- Object
- ApplicationRecord
- Spina::Pro::PageRevision
- Includes:
- AttrJson::NestedAttributes, AttrJson::Record, TranslatedContent
- Defined in:
- app/models/spina/pro/page_revision.rb
Instance Method Summary collapse
Instance Method Details
#load ⇒ Object
13 14 15 16 17 18 |
# File 'app/models/spina/pro/page_revision.rb', line 13 def load content.each do |key, value| page[key.to_sym] = value end page end |