Stack Overflow Asked by user12297722 on January 19, 2021
Is there a function where you can convert a template into a string of HTML, then store it to string in controller?
for Rails, like "render_to_string" on a template with dynamic vars.
$rendered = view(...)->render();
Views have a render
method.
Correct answer by lagbox on January 19, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP