Fixed issue with announcement frontend
This commit is contained in:
parent
a02cd97880
commit
f31f18e193
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue