Sha256: 1bd82dd7f1e58c881f74b47a9220bdb5db772572f1d907247659696e39cfe9b6

Contents?: true

Size: 375 Bytes

Versions: 40

Compression:

Stored size: 375 Bytes

Contents

atom_feed(:url => subjects_url(:format => :atom)) do |feed|
  feed.title t('page.listing', :model => t('activerecord.models.subject')) + " (#{@library_group.display_name.localize})"
  feed.updated(@subjects.first ? @subjects.first.created_at : Time.zone.now)

  @subjects.each do |subject|
    feed.entry(subject) do |entry|
      entry.title(subject.term)
    end
  end
end

Version data entries

40 entries across 40 versions & 2 rubygems

Version Path
enju_subject-0.1.0.pre25 app/views/subjects/index.atom.builder
enju_trunk_subject-1.0.4 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre24 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre23 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre22 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre21 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre20 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre19 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre18 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre17 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre16 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre15 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre14 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre13 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre12 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre11 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre10 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre9 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre8 app/views/subjects/index.atom.builder
enju_subject-0.1.0.pre7 app/views/subjects/index.atom.builder