diff options
author | Peter Kozak <spag@golwen.net> | 2013-02-25 02:39:39 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-02-25 02:39:39 -0500 |
commit | 86a77e472a54f6091eebffae42d638c3c826c13d (patch) | |
tree | d382cddc331b4547652cdb16f01267adcd775efa /app | |
parent | 3d4c241c096c648b0768967866f59bce276ea918 (diff) |
softkeys are polymorphic
Diffstat (limited to 'app')
-rw-r--r-- | app/models/call_forward.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/call_forward.rb b/app/models/call_forward.rb index c668993..088bd23 100644 --- a/app/models/call_forward.rb +++ b/app/models/call_forward.rb @@ -10,7 +10,7 @@ class CallForward < ActiveRecord::Base belongs_to :phone_number belongs_to :call_forwardable, :polymorphic => true - has_many :softkeys + has_many :softkeys, :as => :softkeyable acts_as_list :scope => [ :phone_number_id, :call_forward_case_id ] |