Module: Sunrise::Models::Page::InstanceMethods

Defined in:
lib/sunrise/models/page.rb

Instance Method Summary collapse

Instance Method Details

#content_without_htmlObject



20
21
22
23
# File 'lib/sunrise/models/page.rb', line 20

def content_without_html
  return nil if self.content.blank?
  self.content.no_html
end