app/models/pulitzer/post.rb in pulitzer-0.4.0 vs app/models/pulitzer/post.rb in pulitzer-0.4.1

- old
+ new

@@ -3,10 +3,10 @@ include ForeignOffice::Broadcaster if defined? ForeignOffice extend ::FriendlyId has_many :versions belongs_to :post_type delegate :post_type_content_element_types, :free_form_section_types, :has_free_form_sections?, :has_templated_content_elements?, to: :post_type - delegate :content_elements, :post_tags, :has_label_type, :has_label, :post_tags_for, to: :active_version, allow_nil: true + delegate :content_elements, :section, :post_tags, :has_label_type, :has_label, :post_tags_for, to: :active_version, allow_nil: true friendly_id :title, use: [:slugged, :finders] after_create :create_preview_version attr_accessor :new_preview_version