Class: ActiveAcl::Privilege
- Defined in:
- app/models/active_acl/privilege.rb
Class Method Summary collapse
-
.reloadable? ⇒ Boolean
:nodoc:.
Instance Method Summary collapse
-
#active_acl_description ⇒ Object
Returns the instance representation in the admin screens.
Class Method Details
.reloadable? ⇒ Boolean
:nodoc:
22 23 24 |
# File 'app/models/active_acl/privilege.rb', line 22 def self.reloadable? #:nodoc: return false end |
Instance Method Details
#active_acl_description ⇒ Object
Returns the instance representation in the admin screens. Uses active_acl_description from class if present.
14 15 16 17 18 19 20 |
# File 'app/models/active_acl/privilege.rb', line 14 def active_acl_description begin section.constantize.active_acl_description rescue section end + '/' + value end |