I have a form, after passing this form to the next page a preview of an Newsletter is generated. I want to pass the whole html of that preview to an @Var or to params. To save them later in Database and to send the Newsletter out. Is there any way to do that?
Cheers
Stefan
// EDIT: working now @status was not transferd in params, my mistake
THX
render(the default action) returns the rendered response. you can assign this to any variable you like:renderalso assigns the rendered response toself.response_body. If you don’t want this, you can userender_to_stringinstead: