ruby on rails - How to write a link to a public file -
my Rails app, some files I have / public service who write me hyperlinks to ideas.
Is there a clean link_to ?
also anchor is nothing wrong in using the elements, so link_to Outputs anyway. However, all you need to do is:
& lt;% = link_to 'some file', '/some_file.zip'% & gt;
Comments
Post a Comment