rails devise separate form login for different roles -
i have 2 role:
- admin
- user
i want user each role can login using own form, eg: user admin role can login using url : /admin
i can't find documentation this. there solution?. thanks
you may want take @ article "customize devise support multitenancy authentication" http://climber2002.github.io/blog/2015/03/29/customize-devise-to-support-subdomain-authentication/
Comments
Post a Comment