fix for no tags
This commit is contained in:
parent
6502df721c
commit
8074c24b67
|
@ -50,6 +50,8 @@ class AnnouncementFeedsController < ApplicationController
|
|||
tags = bf.tag_ids
|
||||
if !tags.empty?
|
||||
announcements = Bulletin.can_display.is_approved.filter_by_tags(tags)
|
||||
else
|
||||
announcements = []
|
||||
end
|
||||
end
|
||||
all_anns = []
|
||||
|
|
Loading…
Reference in New Issue