Hello . I am looking for a way i can enable a user to download files from a liveview . Is there a possible way to do this ??
some button is pressed and then file is downloaded
Guesswork:
<a href="<%= Routes.file_path(@socket, :download) %>">Download PDF</a>