summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-25 02:39:39 -0500
committerPeter Kozak <spag@golwen.net>2013-02-25 02:39:39 -0500
commit86a77e472a54f6091eebffae42d638c3c826c13d (patch)
treed382cddc331b4547652cdb16f01267adcd775efa /app
parent3d4c241c096c648b0768967866f59bce276ea918 (diff)
softkeys are polymorphic
Diffstat (limited to 'app')
-rw-r--r--app/models/call_forward.rb2
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 ]