Method: ActiveAcl::ControllerAction#active_acl_description

Defined in:
app/models/active_acl/controller_action.rb

#active_acl_descriptionObject

Returns the instance representation in the admin screens.



12
13
14
15
16
17
18
19
20
21
22
# File 'app/models/active_acl/controller_action.rb', line 12

def active_acl_description
  if action
    if controller
      return '/' + controller + '/' + action
    else
      return action
    end
  else
    return nil
  end
end