简体   繁体   中英

Devise RPX Connectable error undefined method user_session_url

I am trying to install the devise_rpx_connectable gem functionality into my application. Everything seemed to install fine but when I try to call

<%= link_to_rpx "Signin using RPX!", user_session_url %>

I get an undefined method error on user_session_url

Any ideas on what is causing this?

It turns out I had messed up on the initial generation of the devise model. I backed out and re-did it and everything started to work.

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