I have followed
posts on working with subdomains (without the use of subomain-fu and
other plugins). In those examples a user only can log into his/her
account through his/her own subdomain.
I wonder is there a way to log into one's account (subdomain) from the
Logging from www.foo.com/session/new,
should redirect me to,
Any ideas? Thanks,
You could just authenticate off of the Person/User model (whatever you
name that) without scoping it to the account. Then just redirect_to
account_path(@user.account) or something along those lines.