Sha256: e3e9fe26cc33d5fed0b0b41622fd0b2e0aa56949306886ffb882284c3a2f675a

Contents?: true

Size: 604 Bytes

Versions: 23

Compression:

Stored size: 604 Bytes

Contents

atom_feed(:url => manifestations_url(:format => :atom)) do |feed|
  feed.title t('manifestation.query_search_result', :query => @query, :library_group_name => @library_group.display_name.localize)
  feed.updated(@manifestations.first ? @manifestations.first.created_at : Time.zone.now)

  @manifestations.each do |manifestation|
    feed.entry(manifestation) do |entry|
      entry.title(manifestation.original_title)

      manifestation.creators.readable_by(current_user).each do |patron|
        entry.author do |author|
          author.name(patron.full_name)
        end
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre22 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre21 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre20 app/views/manifestations/index.atom.builder