helper for root paths

Josh
2007-12-25T05:06:26Z

i''m not sure what to do when my production environment is not in the
root path of the domain when it comes to including things like flash
files.

when testing, everything works great, but since i don''t have a helper
like image_tag, i have to change the url of the flash file each time i
test and then change it back when i deploy the changes.

is there a helper in rails that will just add the root prefix to urls
based on the environment?
--~--~---------~--~----~------------~-------~--~----~
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