Error using 'send_file' for ruby/rails - help appreciated
- by user1653279
I am trying to create a link to download a file from the file system. For this, I define the following in the "license_helper.rb" file:
def license_download_link(license, link_text = nil)
if link_text.blank?
link_text = image_tag("download_icon.png", :border => 0, :width => 32, :height =>32, :alt => 'Download License', :title =>…