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