summaryrefslogtreecommitdiff
path: root/app/models/phone_book.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/phone_book.rb')
-rw-r--r--app/models/phone_book.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/phone_book.rb b/app/models/phone_book.rb
index 3603eae..21d30c0 100644
--- a/app/models/phone_book.rb
+++ b/app/models/phone_book.rb
@@ -1,7 +1,7 @@
class PhoneBook < ActiveRecord::Base
attr_accessible :name, :description, :uuid
- belongs_to :phone_bookable, :polymorphic => true
+ belongs_to :phone_bookable, :polymorphic => true, :touch => true
has_many :phone_book_entries, :dependent => :destroy
validates_presence_of :name