fix preview bug only happen when production

This commit is contained in:
Matthew K. Fu JuYuan 2012-10-01 21:05:16 +08:00
parent 7919750d4f
commit b0cdcbecca
1 changed files with 1 additions and 1 deletions

View File

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