reverted to non empty title

This commit is contained in:
Harry Bomrah 2016-04-11 16:40:23 +08:00
parent 140a8f0332
commit 4733a77afa
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class AnnouncementFeedsController < ApplicationController
if !bf.nil? if !bf.nil?
tags = bf.tag_ids tags = bf.tag_ids
if !tags.empty? if !tags.empty?
announcements = Bulletin.where(:title.ne => "").can_display.is_approved.filter_by_tags(tags) announcements = Bulletin.all.can_display.is_approved.filter_by_tags(tags)
else else
announcements = [] announcements = []
end end