Class: LogicalAuthz::AuthnFacade
- Inherits:
-
Object
- Object
- LogicalAuthz::AuthnFacade
- Defined in:
- lib/logical_authz/authn_facade/authlogic.rb
Class Method Summary collapse
Class Method Details
.current_user(controller) ⇒ Object
6 7 8 9 10 |
# File 'lib/logical_authz/authn_facade/authlogic.rb', line 6 def self.current_user(controller) #This assumes authlogic is implemented as recommended - otherwise #you'll need to develop your own AuthnFacade return controller.current_user end |