Fixed issue with announcement frontend

This commit is contained in:
saurabhbhatia 2013-12-11 15:01:19 +08:00
parent a02cd97880
commit f31f18e193
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Panel::Announcement::FrontEnd::BulletinsController < OrbitWidgetController
preview_content
else
@bulletin = Bulletin.all.can_display.where(_id: params[:id]).first
if @bulletin and !@bulletin.disable? and !@bulletin.is_rejected
if @bulletin and !@bulletin.disable?
if @bulletin.enabled_for_lang(I18n.locale.to_s)
# delayed_impressionist(@bulletin)
impressionist(@bulletin)