Fix preview for announcement (was retuning js instead of html)

This commit is contained in:
Christophe Vilayphiou 2012-09-18 14:31:50 +08:00
parent ce47109d33
commit 42c62ebca0
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 bulletin = Bulletin.new params
@preview_obj = bulletin.to_preview @preview_obj = bulletin.to_preview
@preview_obj.save @preview_obj.save
render '/shared/preview/preview.js.erb' render '/shared/preview/preview.html.erb'
end end
def index def index