Sha256: 9b6e745f49013986d7c7ec4c046a307f7b7117babae5bf4d09e4a4bd892a9670

Contents?: true

Size: 331 Bytes

Versions: 3

Compression:

Stored size: 331 Bytes

Contents

atom_feed(url: agents_url(format: :atom)) do |feed|
  feed.title t('agent.library_group_agent', library_group_name: @library_group.display_name)
  feed.updated(@agents.first ? @agents.first.created_at : Time.zone.now)

  @agents.each do |agent|
    feed.entry(agent) do |entry|
      entry.title(agent.full_name)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.4.0.rc.1 app/views/agents/index.atom.builder
enju_biblio-0.4.0.beta.2 app/views/agents/index.atom.builder
enju_biblio-0.4.0.beta.1 app/views/agents/index.atom.builder