Hello, I'm in the middle of a situation where the method
compute_public_path must be public instead of private.

Some times we need to add .mov, .flv or even another kind of asset
like swf and I want use my correct public path because I already setup
a exclusive host for my static assets (wich is the right behavior).

I know I can use private methods inside my views, but it doesn't
sounds strange? Why we have methods like image_path and
javascript_path (and are all public) but don't have a method for all
other kind of static assets?
--~--~---------~--~----~------------~-------~--~----~
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