Sha256: 01c35b6048cfedb8e672252f9c13af996cfaeb538eee3a4ff03d40789355259f

Contents?: true

Size: 590 Bytes

Versions: 8

Compression:

Stored size: 590 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 |agent|
        entry.author do |author|
          author.name(agent.full_name)
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre63 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre62 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre61 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre60 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre59 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre58 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre57 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre56 app/views/manifestations/index.atom.builder