Module: PermissionName

Extended by:
ActiveSupport::Concern
Included in:
Authorizable, Setting
Defined in:
app/models/concerns/permission_name.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#permission_name(action) ⇒ Object


4
5
6
# File 'app/models/concerns/permission_name.rb', line 4

def permission_name(action)
  self.class.find_permission_name(action)
end