summaryrefslogtreecommitdiff
path: root/app/models/hunt_group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/hunt_group.rb')
-rw-r--r--app/models/hunt_group.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/hunt_group.rb b/app/models/hunt_group.rb
index 184297c..5011bf0 100644
--- a/app/models/hunt_group.rb
+++ b/app/models/hunt_group.rb
@@ -1,7 +1,7 @@
class HuntGroup < ActiveRecord::Base
attr_accessible :name, :strategy, :seconds_between_jumps, :phone_numbers_attributes
- belongs_to :tenant
+ belongs_to :tenant, :touch => true
has_many :call_forwards, :as => :call_forwardable, :dependent => :destroy
validates_uniqueness_of :name, :scope => :tenant_id,