diff options
Diffstat (limited to 'app/models/sip_account.rb')
-rw-r--r-- | app/models/sip_account.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/sip_account.rb b/app/models/sip_account.rb index 77fe87a..e4ecfc4 100644 --- a/app/models/sip_account.rb +++ b/app/models/sip_account.rb @@ -46,6 +46,8 @@ class SipAccount < ActiveRecord::Base has_many :voicemail_accounts, :as => :voicemail_accountable, :dependent => :destroy belongs_to :voicemail_account + has_many :pager_groups, :dependent => :destroy + # Delegations: # delegate :host, :to => :sip_domain, :allow_nil => true |