Sha256: 33251fe3069273b19d6b19aa4fc709a0bf198d800a9a79700789da15ad153f6e

Contents?: true

Size: 472 Bytes

Versions: 40

Compression:

Stored size: 472 Bytes

Contents

atom_feed(url: reserves_url(format: :atom)) do |feed|
  if @user
    feed.title t('reserve.user_reserve', login_name: @user.username)
  else
    feed.title t('reserve.library_group_reserve', library_group_name: @library_group.display_name.localize)
  end
  feed.updated(@reserves.first ? @reserves.first.created_at : Time.zone.now)

  @reserves.each do |reserve|
    feed.entry(reserve) do |entry|
      entry.title(reserve.manifestation.original_title)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
enju_circulation-0.3.11 app/views/reserves/index.atom.builder
enju_circulation-0.3.10 app/views/reserves/index.atom.builder
enju_circulation-0.3.9 app/views/reserves/index.atom.builder
enju_circulation-0.3.8 app/views/reserves/index.atom.builder
enju_circulation-0.3.7 app/views/reserves/index.atom.builder
enju_circulation-0.3.6 app/views/reserves/index.atom.builder
enju_circulation-0.3.5 app/views/reserves/index.atom.builder
enju_circulation-0.3.4 app/views/reserves/index.atom.builder
enju_circulation-0.3.3 app/views/reserves/index.atom.builder
enju_circulation-0.3.2 app/views/reserves/index.atom.builder
enju_circulation-0.3.1 app/views/reserves/index.atom.builder
enju_circulation-0.3.0 app/views/reserves/index.atom.builder
enju_circulation-0.3.0.rc.1 app/views/reserves/index.atom.builder
enju_circulation-0.3.0.beta.1 app/views/reserves/index.atom.builder
enju_circulation-0.2.5 app/views/reserves/index.atom.builder
enju_circulation-0.2.4 app/views/reserves/index.atom.builder
enju_circulation-0.2.3 app/views/reserves/index.atom.builder
enju_circulation-0.2.2 app/views/reserves/index.atom.builder
enju_circulation-0.2.1 app/views/reserves/index.atom.builder
enju_circulation-0.2.0 app/views/reserves/index.atom.builder