2017-06-16 20:43:09 +00:00
|
|
|
# Copyright (C) 2012-2016 Zammad Foundation, http://zammad-foundation.org/
|
|
|
|
|
|
|
|
class RoleGroup < ApplicationModel
|
2018-06-25 10:35:57 +00:00
|
|
|
include HasGroupRelationDefinition
|
2017-06-16 20:43:09 +00:00
|
|
|
|
2018-06-25 10:35:57 +00:00
|
|
|
self.table_name = 'roles_groups'
|
|
|
|
|
|
|
|
# don't list roles in Group association result
|
|
|
|
Group.association_attributes_ignored :roles
|
2017-06-16 20:43:09 +00:00
|
|
|
end
|