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

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -