fix preview bug only happen when production
This commit is contained in:
parent
7919750d4f
commit
b0cdcbecca
|
@ -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.html.erb'
|
render '/shared/preview/preview.html.erb', :layout=>false
|
||||||
end
|
end
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|
Reference in New Issue