diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-26 15:51:35 +0100 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-26 15:51:35 +0100 |
commit | 3833ac1506fb336cd617ec41d25e35c34e74064e (patch) | |
tree | 7f865a6529ae42a7e878b34eca8f99b7e65575f2 /app/models/user.rb | |
parent | 78948fc995786dcd1beae8e98573ec8ccba3ae9d (diff) |
voicemail refactored
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index b74fc06..81d1622 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -94,6 +94,8 @@ class User < ActiveRecord::Base has_many :switchboards, :dependent => :destroy + has_many :voicemail_accounts, :as => :voicemail_accountable, :dependent => :destroy + # Avatar like photo mount_uploader :image, ImageUploader |