开发者

Authlogic and declarative authorizsation

开发者 https://www.devze.com 2022-12-20 22:18 出处:网络
I have a rails application based on Authlogic with LDAP for authentification, and declarative authorization for roles requirements.

I have a rails application based on Authlogic with LDAP for authentification, and declarative authorization for roles requirements.

The problem is when i put filter resource_access in my controller, i got this error :

unde开发者_StackOverflowfined method `current_user'....

I had define the method current_user on the application_controller

Any help ?

Thank you


I can't recommend this screencast highly enough. It takes you step-by-step through how to setup authlogic for your rails app -- including defining the current_user variable.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号