Fix bug: preview was always true

This commit is contained in:
Christophe Vilayphiou committed 2012-05-04 19:02:40 +08:00
1 parent e9b337a385
commit 8e6fd277c2
2 files changed
+2 -2

No files matched your search

@@ -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