mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
12 lines
347 B
Text
12 lines
347 B
Text
|
|
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
|