Fix preview for announcement (was retuning js instead of html)
This commit is contained in:
parent
ce47109d33
commit
42c62ebca0
|
@ -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.js.erb'
|
||||
render '/shared/preview/preview.html.erb'
|
||||
end
|
||||
|
||||
def index
|
||||
|
|
Reference in New Issue