mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 23:30:12 +01:00
12 lines
No EOL
347 B
Ruby
12 lines
No EOL
347 B
Ruby
atom_feed do |feed|
|
|
feed.title(@feed_title)
|
|
feed.subtitle(@feed_description)
|
|
feed.updated(@all_contexts.last.updated_at)
|
|
|
|
@all_contexts.each do |context|
|
|
feed.entry(context) do |entry|
|
|
entry.title(h(context.name))
|
|
entry.content(context_summary(context, count_undone_todos_phrase(context)), :type => :html)
|
|
end
|
|
end
|
|
end |