Fixed issue with announcement frontend
This commit is contained in:
1 parent
a02cd97880
commit
f31f18e193
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user