阅读背景:

用户的不同“/”根路径取决于他们是否经过了身份验证(使用设计)

来源:互联网 

I'm writing a rails app in which I have an Editor and a Publication model. I'm using devise for editors authentication and, since an editor can't do anything as guest, I wrote a custom layout to use for the login page and I want that a guest user can see only the login page.I'm writing a rails app in which I have an Edit




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

分享到: