Sha256: 9730fe670e42456cd4859b015eb1b1ce89d47a7779a6a3d2efb1a202c0a29b37

Contents?: true

Size: 484 Bytes

Versions: 126

Compression:

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

126 entries across 126 versions & 2 rubygems

Version Path
enju_circulation-0.1.0.pre36 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre35 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre34 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre33 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre32 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre31 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre30 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre29 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre28 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre27 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre26 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre25 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre24 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre23 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre22 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre21 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre20 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre19 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre18 app/views/reserves/index.atom.builder
enju_circulation-0.1.0.pre17 app/views/reserves/index.atom.builder