Class: ActiveAcl::Acl

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/active_acl/acl.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.reloadable?Boolean

:nodoc:

Returns:

  • (Boolean)


20
21
22
# File 'app/models/active_acl/acl.rb', line 20

def self.reloadable? #:nodoc:
  return false
end

Instance Method Details

#active_acl_descriptionObject

used as instance description in admin screen



25
26
27
28
29
30
31
32
33
34
35
# File 'app/models/active_acl/acl.rb', line 25

def active_acl_description
  if iname
    if section
    '/' + section.description + '/' + iname
    else
      return iname
    end
  else
    return nil
  end
end