summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/models/softkey.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/softkey.rb b/app/models/softkey.rb
index f038acd..3ae7e95 100644
--- a/app/models/softkey.rb
+++ b/app/models/softkey.rb
@@ -85,6 +85,7 @@ class Softkey < ActiveRecord::Base
self.softkeyable_type = nil
end
if ['call_forwarding'].include?(self.softkey_function.name)
+ self.softkeyable = CallForward.where(:id => self.softkeyable_id).first
self.number = nil
end
end