app/models/pulitzer/post.rb in pulitzer-0.3.6 vs app/models/pulitzer/post.rb in pulitzer-0.3.7
- 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, :allow_free_form?, to: :post_type
- delegate :content_elements, :post_tags, :has_label_type, :has_label, to: :active_version, allow_nil: true
+ delegate :content_elements, :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