在RefineryCMS中命名的Devise user_signed_in?方法是什么?
我使用的是RefineryCMS Core3.0和refinerycms-authentication-devise 1.0。
我尝试了refinery_user_signed_in?,因为类是Refinery::User,而当前的用户助手是refinery_current_user。但这给出了一个NoMethodError。
发布于 2016-02-15 18:44:30
我使用的是RefineryCMS 3.0.1,signed_in?似乎可以用来检查用户是否已经登录。
https://stackoverflow.com/questions/32806795
复制相似问题