Fix preview issue

This commit is contained in:
Manson Wang 2014-02-06 15:45:01 +08:00
parent 175a798a70
commit 112958ac18
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ class Panel::Announcement::BackEnd::BulletinsController < OrbitBackendController
end
def preview
params['bulletin']['image'] = nil
bulletin = Bulletin.new params
@preview_obj = bulletin.to_preview
@preview_obj.save