fix preview bug only happen when production

This commit is contained in:
Matthew K. Fu JuYuan committed 2012-10-01 21:05:16 +08:00
1 parent 7919750d4f
commit b0cdcbecca
1 file changed
+1 -1
@@ -18,7 +18,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
bulletin = Bulletin.new params
@preview_obj = bulletin.to_preview
@preview_obj.save
render '/shared/preview/preview.html.erb'
render '/shared/preview/preview.html.erb', :layout=>false
end
def index