staff should track

This commit is contained in:
Sam 2017-04-20 17:32:05 -04:00
parent d4111c8676
commit dcf9459b7c
1 changed files with 1 additions and 0 deletions

View File

@ -171,6 +171,7 @@ class Group < ActiveRecord::Base
unless group = self.lookup_group(name)
group = Group.new(name: name.to_s, automatic: true)
group.default_notification_level = 2 if AUTO_GROUPS[:staff] == id
group.id = id
group.save!
end