0

How to make the ror file download?

The file is:

path: assets/docs/fd.pdf

Option to do so generates an error:

<%= link_to 'download', asset_path('/docs/fd.pdf') %> error No route matches [GET] "/docs/df.pdf"

help me, please

Isabel Inc
  • 1,871
  • 2
  • 21
  • 28
Helga
  • 19
  • 8

0 Answers0