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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -