Sha256: b12ab0145ce00c55f353c0bb4d6180e918777e55611d5d902ea4aa2394724dc2

Contents?: true

Size: 438 Bytes

Versions: 14

Compression:

Stored size: 438 Bytes

Contents

atom_feed(url: order_lists_url(format: :atom)) do |feed|
  feed.title t('order_list.library_group_order_list', library_group_name: @library_group.display_name.localize)
  feed.updated(@order_lists.first ? @order_lists.first.created_at : Time.zone.now)

  @order_lists.each do |order_list|
    feed.entry(order_list) do |entry|
      entry.title(order_list.title)
      entry.author(@library_group.display_name.localize)
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
enju_purchase_request-0.3.2 app/views/order_lists/index.atom.builder
enju_purchase_request-0.3.1 app/views/order_lists/index.atom.builder
enju_purchase_request-0.3.0.beta.1 app/views/order_lists/index.atom.builder
enju_purchase_request-0.2.1 app/views/order_lists/index.atom.builder
enju_purchase_request-0.2.0 app/views/order_lists/index.atom.builder
enju_purchase_request-0.2.0.beta.2 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.1 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0.pre15 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0.pre14 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0.pre13 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0.pre12 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0.pre11 app/views/order_lists/index.atom.builder
enju_purchase_request-0.1.0.pre10 app/views/order_lists/index.atom.builder