Why not just grab the domain from the URL, then use that to determine which stylesheet, etc. to use?
On Jan 24, 8:24 am, eugenio <eugenio.mode...@gmail.com> wrote: > what is the easiest way to achieve that result? > i would like to keep controllers and models the same for all the > "applications", which, in fact, are the same. They only appear > different (the views, the css, and a parameter of the query that will > be sent to the database). > I could separate the rails app, but, doing that, i will need to > replicate every common change (a bug fix in a model method for > example) to all of them. is there a better way? -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.