app/models/manageable_content/page.rb in manageable_content-0.2.2 vs app/models/manageable_content/page.rb in manageable_content-0.2.3

- old
+ new

@@ -7,17 +7,15 @@ attr_accessible :page_contents_attributes accepts_nested_attributes_for :page_contents # Retrieves a PageContent with the given key. - # def page_content(key) key = key.to_s page_contents.detect { |page_content| page_content.key == key } end # Retrieves a content with the given key. - # def content(key) page_content(key).try(:content) end end \ No newline at end of file