rails devise separate form login for different roles -


i have 2 role:

  1. admin
  2. 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

Popular posts from this blog

renaming files in a directory using python or R -

html - outline-style different in chrome compared to firefox and internet explorer -

ruby on rails - Carrierwave Timeout -