Downloading a file

I cannot seem to find a complete enough answer for this anywhere.
#view
<%= link_to “Raw blast output” ,:action => :download, :file_name =>
“public/data/02_blastout/#{@bl_file}” %>
#controller
def download
send_file “#{RAILS_ROOT}/#{params[:file_name]}”
end

and when I go to the page I get this error:
No route matches {:action=>“download”,
:file_name=>“public/data/02_blastout/input0.fa_x_Glyma1aaunq.bl”,
:controller=>“cvits”}
Could you guys help me out???

or if you guys know any better way to download a file I would really
appreciate the advice thanks!!

Note: I also posted this at http://railsforum.com/

and when I go to the page I get this error:
No route matches {:action=>“download”,
:file_name=>“public/data/02_blastout/input0.fa_x_Glyma1aaunq.bl”,
:controller=>“cvits”}

Well,

You have to add the download method in your routes and this is how you
do it.

map.resources :cvits, :collection => {:download => :get}

Regards,
Srikanth