Class: Spina::Pro::PageRevision

Inherits:
ApplicationRecord
  • Object
show all
Includes:
AttrJson::NestedAttributes, AttrJson::Record, TranslatedContent
Defined in:
app/models/spina/pro/page_revision.rb

Instance Method Summary collapse

Instance Method Details

#loadObject



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