Module: CoreModels::Models::Role

Extended by:
ActiveSupport::Concern
Includes:
Concerns::RoleConcerns
Defined in:
lib/core_models/models/role.rb

Instance Method Summary collapse

Methods included from Concerns::RoleConcerns

#add_permission=, #change_permissions=, #has_group?, #has_permission?, #permission_names, #remove_permission=

Instance Method Details

#should_generate_new_friendly_id?Boolean

Returns:

  • (Boolean)


28
29
30
# File 'lib/core_models/models/role.rb', line 28

def should_generate_new_friendly_id?
  role_name_changed?
end