diff options
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index d1b2cb966..3e4bdf09a 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -18,8 +18,10 @@ class Group < Principal include Redmine::SafeAttributes - has_and_belongs_to_many :users, :after_add => :user_added, - :after_remove => :user_removed + has_and_belongs_to_many :users, + :join_table => "#{table_name_prefix}groups_users#{table_name_suffix}", + :after_add => :user_added, + :after_remove => :user_removed acts_as_customizable |