I'm editing a controller action that previously used "send_file" to send
a file and then just returned, like

send_file(some_params) and return

Now, though, the downloading has been moved into a different controller
action, and i need to get back to the 'show' page after the user starts
downloading the file.  After doing the send_file, i tried to render the
show action, but this makes the controller think that the show page url
is the file i'm trying to send: i get an error message like "The file
<show page url here> could not be located...".

Can anyone tell me if/how i can send the file and then
redirect_to/render another view page?

thanks
max
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
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