diff options
author | Alex Legler <alex@a3li.li> | 2014-09-20 22:16:53 +0200 |
---|---|---|
committer | Alex Legler <alex@a3li.li> | 2014-09-20 22:16:53 +0200 |
commit | cd237bce1787d3eca818e6dc179ad76253e7983a (patch) | |
tree | 2d2981f51d200671adcfa2cc91c465114f0cffff | |
parent | Rework notice selection JS (diff) | |
download | infra-status-cd237bce1787d3eca818e6dc179ad76253e7983a.tar.gz infra-status-cd237bce1787d3eca818e6dc179ad76253e7983a.tar.bz2 infra-status-cd237bce1787d3eca818e6dc179ad76253e7983a.zip |
Render visible notices; not just active notices on the Atom feed.
-rw-r--r-- | infra-status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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'] |