Sha256: 87c63c88f56faad6948b82ca89411f4a1854671254d34d653f4f7fc84f0cabd6

Contents?: true

Size: 602 Bytes

Versions: 13

Compression:

Stored size: 602 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

13 entries across 13 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre55 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre54 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre53 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre52 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre51 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre50 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre49 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre48 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre47 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre46 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre45 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre44 app/views/manifestations/index.atom.builder
enju_biblio-0.1.0.pre43 app/views/manifestations/index.atom.builder