I want to serve template files from a different location based on the incoming request. So, if the user requests www.example.com, a filter on application.rb is able to determine that it needs to look in RAILS_ROOT/sites/example.com/views/ for templates - but if www.test.com is the requested host then to serve from RAILS_ROOT/sites/test.com/views I am assuming that to do this I will need to patch render_template to change the location it is going look for templates in. Has anyone done this already or suggest a better approach to this problem I''d be very grateful... David --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---