summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-09-20 22:16:53 +0200
committerAlex Legler <alex@a3li.li>2014-09-20 22:16:53 +0200
commitcd237bce1787d3eca818e6dc179ad76253e7983a (patch)
tree2d2981f51d200671adcfa2cc91c465114f0cffff
parentRework notice selection JS (diff)
downloadinfra-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.rb2
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']