I'm trying to create a view with a download link to download the html source?
+2
A:
You can use render_to_string
instead of render, which will give you the page, then to download it use send_data
.
Peter
2010-05-31 02:05:55
Thanks, I've seen that in other searches, but have trouble using it. Do you have any examples?
2010-05-31 03:04:02