summaryrefslogtreecommitdiff
path: root/app/models/sip_account.rb
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-12 22:54:59 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-12 22:54:59 +0100
commit45ab6dc23ef7d8d6ddf60ab355c2d1b3450f35c8 (patch)
tree4b1429700bdfb237dd3bd98cee19b46a16cb8b38 /app/models/sip_account.rb
parent1e5c4e80fe27eddf87d0e01ea771e8ea050bc4c1 (diff)
Cache fixes.
Diffstat (limited to 'app/models/sip_account.rb')
-rw-r--r--app/models/sip_account.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/sip_account.rb b/app/models/sip_account.rb
index 5388395..d35f9b4 100644
--- a/app/models/sip_account.rb
+++ b/app/models/sip_account.rb
@@ -10,7 +10,7 @@ class SipAccount < ActiveRecord::Base
# Associations:
#
- belongs_to :sip_accountable, :polymorphic => true
+ belongs_to :sip_accountable, :polymorphic => true, :touch => true
has_many :phone_sip_accounts, :uniq => true
has_many :phones, :through => :phone_sip_accounts