I have 2 button_to functions that download 2 different files. the first one acts like a submit and the second on actually does downlaod the file. Does anyone know what would cause that?
<%= button_to 'Download PCCIS file', :action => 'downloadpccis' %> <%= button_to 'Download CIS file', :action => 'downloadcis' %> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---