Anyone have any idea why one button does a submit and the other does a
file download?

On Feb 11, 9:36 pm, Me <[email protected]> wrote:
> I have2button_tofunctionsthat download2different files.  the
> first one acts like a submit and the second on actually does downlaod
> thefile.  Does anyone know what would cause that?
>
> <%=button_to'Download PCCISfile',         :action => 'downloadpccis' %>
> <%=button_to'Download CISfile',   :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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to