阅读背景:

将Devise与多个名称空间用于同一个Model

来源:互联网 

I want to use Devise with two namespaces: an API namespace, and the default namespace, but the two seem to be conflicting when a user tries to sign in. Meaning, whichever namespace that references Devise first ends up being the final redirection place. Ex: If I try to create a new session under the default namespace it will fail on that user session path, and then attempt to create the session on the API/v1 sessions path.I want to use Devise with two namespaces: an AP




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: