Render file (no html)


/ Published in: Rails

Send file from different name


Copy this code and paste it in your HTML
  1. send_file 'path/file_003', :disposition => 'attachment; filename=image.jpg'

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.