Sha256: 4f0433c37f743f0ca2501037d35294e7be733e971adcbc18018971be4beff88e

Contents?: true

Size: 266 Bytes

Versions: 3

Compression:

Stored size: 266 Bytes

Contents

atom_feed root_url: @article.permalink_url do |feed|
  feedback = @article.published_feedback
  render 'shared/atom_header', feed: feed, items: feedback

  feedback.each do |item|
    render "shared/atom_item_#{item.type.downcase}", feed: feed, item: item
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
publify_core-9.1.0 app/views/articles/feedback_atom_feed.atom.builder
publify_core-9.0.1 app/views/articles/feedback_atom_feed.atom.builder
publify_core-9.0.0 app/views/articles/feedback_atom_feed.atom.builder