Fix bug: preview was always true
This commit is contained in:
1 parent
e9b337a385
commit
8e6fd277c2
2 files changed
+2
-2
No files matched your search
Vendored
+1
-1
@@ -27,7 +27,7 @@ class Panel::News::FrontEnd::NewsBulletinsController < OrbitWidgetController
|
||||
if params[:preview] == "true"
|
||||
preview_content
|
||||
else
|
||||
@news_bulletins = NewsBulletin.can_display.where(_id: params[:id]).first
|
||||
@news_bulletin = NewsBulletin.can_display.where(_id: params[:id]).first
|
||||
get_categorys
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user