简体   繁体   中英

Multiple Models for one login with Devise?

是否可以将Devise配置为接受来自同一表单的多个模型(用户或管理员)的登录?

如果您使用用户和管理员(也称为Admin < User )执行STI应该不是问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM