summaryrefslogtreecommitdiff
path: root/app/models/automatic_call_distributor.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 22:44:10 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-10 22:44:10 +0100
commit49738b091eea2ca65d6f8c71b88747e314ec2950 (patch)
tree27a251dd797c9981747c9edf5e55139bd704c974 /app/models/automatic_call_distributor.rb
parent48accca73c9564bd2ee8bd296d47eb5c27dbcd51 (diff)
Refactoring and adding some caches.
Diffstat (limited to 'app/models/automatic_call_distributor.rb')
-rw-r--r--app/models/automatic_call_distributor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/automatic_call_distributor.rb b/app/models/automatic_call_distributor.rb
index cd887d5..a34392e 100644
--- a/app/models/automatic_call_distributor.rb
+++ b/app/models/automatic_call_distributor.rb
@@ -1,7 +1,7 @@
class AutomaticCallDistributor < ActiveRecord::Base
attr_accessible :uuid, :name, :strategy, :automatic_call_distributorable_type, :automatic_call_distributorable_id, :max_callers, :agent_timeout, :retry_timeout, :join, :leave, :gs_node_id, :announce_position, :announce_call_agents, :greeting, :goodbye, :music
- belongs_to :automatic_call_distributorable, :polymorphic => true
+ belongs_to :automatic_call_distributorable, :polymorphic => true, :touch => true
has_many :acd_agents, :dependent => :destroy
has_many :phone_numbers, :as => :phone_numberable, :dependent => :destroy