fix error
This commit is contained in:
parent
d834b63a7f
commit
6017d67104
|
@ -128,7 +128,7 @@ module AnnouncementsHelper
|
||||||
announcements = Bulletin.where(:title.nin => ["",nil],:is_preview.in=>[false,nil])
|
announcements = Bulletin.where(:title.nin => ["",nil],:is_preview.in=>[false,nil])
|
||||||
.can_display_and_sorted.is_approved
|
.can_display_and_sorted.is_approved
|
||||||
.filter_by_categories(categories,false).filter_by_tags(tags).to_a
|
.filter_by_categories(categories,false).filter_by_tags(tags).to_a
|
||||||
if (defined? SiteFeed).nil?
|
if !(defined? SiteFeed).nil?
|
||||||
feeds_anns = get_feed_announcements("index")
|
feeds_anns = get_feed_announcements("index")
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue