From cd237bce1787d3eca818e6dc179ad76253e7983a Mon Sep 17 00:00:00 2001 From: Alex Legler Date: Sat, 20 Sep 2014 22:16:53 +0200 Subject: Render visible notices; not just active notices on the Atom feed. --- infra-status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra-status.rb b/infra-status.rb index c055e24..291bc6d 100644 --- a/infra-status.rb +++ b/infra-status.rb @@ -49,7 +49,7 @@ get '/feed.atom' do maker.channel.id = MY_URL maker.channel.updated = Time.now.to_s - NoticeStore.instance.active_notices.each do |notice| + NoticeStore.instance.visible_notices.each do |notice| maker.items.new_item do |item| item.link = MY_URL + 'notice/' + notice['id'] item.title = notice['title'] -- cgit v1.2.3-65-gdbad