suggested changes
change description of organization_admin remove assign_role callback
This commit is contained in:
parent
8839a928ed
commit
7d408ee33c
3 changed files with 2 additions and 7 deletions
|
|
@ -12,6 +12,6 @@ class Organization < ActiveRecord::Base
|
|||
private
|
||||
|
||||
def create_roles
|
||||
Role.where(name: 'organization_admin', resource: self).first_or_create(description: "For the administrators of an organization (who shall have full access to the organization and it's conferences)")
|
||||
roles.where(name: 'organization_admin').first_or_create(description: 'For the administrators of an organization and its conferences')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue