srikanth
2009-Jan-29 09:52 UTC
No action responded to data error using link_to .download a file from specific location
Hi , I have appliaction which has various type of streams. And iam providing a link to stremname . ex:suppose i have stream called test.mpeg4 in public/data/test.mpeg4 folder using to link to stream. <%= link_to stream.name, stream.location %> in index page of controller if i click on name of stream it is pointing to below link and able to download. http://localhost:3000/data/cmd.txt if i use the same link in show page it is pointing to below link http://localhost:3000/streams/data/cmd.txt and as a result not able to download stream anddisplaying like Unknown action No action responded to data. Actions: create, creates, destroy, edit, index, new, show, test, and update can any one suggest how to resolve the problem. thanks Srikanth --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---