I have a condition where my rails app can be requested from different domains. Suppose it can be accessed via domain www.abc.com and www.xyz.com
Now my requirement is that, I need to have devise module include when application is accessed via domain www.abc.com.
And for domain www.xyz.com devise module should be excluded.
Hope somebody can let me know the way to achieve this, Thanks!