Sha256: 86f87de339c9f9fe14cedf5e8b8be8e85c55c3eac272bba7abb8c13c8cd5ef05

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

atom_feed(url: events_url(format: :atom)) do |feed|
  feed.title t('event.library_group_event', library_group_name: @library_group.display_name)
  feed.updated(@events.first ? @events.first.created_at : Time.zone.now)

  @events.each do |event|
    feed.entry(event) do |entry|
      entry.title(event.display_name)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_event-0.4.0.rc.1 app/views/events/index.atom.builder
enju_event-0.4.0.beta.2 app/views/events/index.atom.builder
enju_event-0.4.0.beta.1 app/views/events/index.atom.builder