Fix rssfeed bug.
This commit is contained in:
parent
1baa8d3f4c
commit
c5f95c9968
|
@ -27,6 +27,8 @@ class AnnouncementFeedsController < ApplicationController
|
||||||
tags = @bf.tag_ids
|
tags = @bf.tag_ids
|
||||||
if !tags.empty?
|
if !tags.empty?
|
||||||
@announcements = Bulletin.can_display_and_sorted.is_approved.filter_by_tags(tags)
|
@announcements = Bulletin.can_display_and_sorted.is_approved.filter_by_tags(tags)
|
||||||
|
else
|
||||||
|
@announcements = Bulletin.can_display_and_sorted.is_approved
|
||||||
end
|
end
|
||||||
categories = @bf.category_ids
|
categories = @bf.category_ids
|
||||||
if !categories.empty?
|
if !categories.empty?
|
||||||
|
|
Loading…
Reference in New Issue