[Rails] Re: Thoughts on a domain based white label app?

2013-08-15 Thread Rick Schmitty
Dave Aronson wrote in post #1118796: > I've done a similar thing before, and no you don't have to sprinkle > client-choosing logic throughout your views. What we did, to enable > mobile-friendly views IF the client was on the mobile domain, was to > check the domain and, if it was the mobile one,

[Rails] Thoughts on a domain based white label app?

2013-08-15 Thread Rick Schmitty
Greets! I was wondering if there might be any pitfalls I should be aware of in order to create a domain based white label app. By that I mean, a single app that will change the layout/css/routes of an app depending on the domain name that accesses it example.com gets example.css, layouts/example