I need to develop an application which will have one codebase but
different sites will be accessing the same codebase. Now the problem is
that how can render different look and feel for the same view based on
the site the request came from. For eg. if request came from www.a.com
then all the screens will have the same functionality but differnt look
then the request from www.b.com. I can figure out the domain from where
the request came, but don’t know how to setup the base for the view
based on domain. Basically , I want one code base i.e. one set of
controllers but n sets of views for each method if I am serving n sites.
Any help is greatly appreciated.