[Rails] Multisite in Rails 3
I need to develop Rails 3 application with a single codebase
(controlers, models, helpers, etc), but with different views support.
For example if I open www.site1.com my Rails 3 app loads views
and layouts for site1, if I open www.site2.com it loads views and
layouts
for site2. So both sites have the same functionality, but looks
differently.
What is the best way to implement this functionality in Rails 3.
Thank you in advance.
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home