app/models/online_document_section.rb in knitkit-2.1.9 vs app/models/online_document_section.rb in knitkit-2.1.10
- old
+ new
@@ -1,9 +1,9 @@
class OnlineDocumentSection < WebsiteSection
has_one :documented_item, :dependent => :destroy
delegate :content, :to => :documented_item, :prefix => true
delegate :published_content, :to => :documented_item, :prefix => true
-
+
def documented_item_content_html
documented_item_content.body_html
rescue
nil
end
\ No newline at end of file