diff options
author | spag <spag@golwen.net> | 2013-02-08 10:41:18 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-08 10:41:18 +0100 |
commit | 9e723519982c3b442aa90f3728bfddd4025d4a69 (patch) | |
tree | 928c98fab134d0f3106119c6a094e3606a6727af /app/views/gs_nodes/sync.xml.haml | |
parent | cd909970e8443ca86ad0be09b26cf5fb616ea303 (diff) |
softkey-call_forward relation polymorphic
Diffstat (limited to 'app/views/gs_nodes/sync.xml.haml')
-rw-r--r-- | app/views/gs_nodes/sync.xml.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/gs_nodes/sync.xml.haml b/app/views/gs_nodes/sync.xml.haml index 0f097f8..a2fa71a 100644 --- a/app/views/gs_nodes/sync.xml.haml +++ b/app/views/gs_nodes/sync.xml.haml @@ -60,7 +60,7 @@ - if !@softkeys.blank? %softkeys - @softkeys.each do |softkey| - %softkey{ :uuid => softkey.uuid, :function => softkey.softkey_function.try(:name), :number => softkey.number, :label => softkey.label, :position => softkey.position, :created_at => softkey.created_at, :updated_at => softkey.updated_at, :sip_account_uuid => softkey.sip_account.try(:uuid), :call_forward_uuid => softkey.call_forward.try(:uuid) } + %softkey{ :uuid => softkey.uuid, :function => softkey.softkey_function.try(:name), :number => softkey.number, :label => softkey.label, :position => softkey.position, :created_at => softkey.created_at, :updated_at => softkey.updated_at, :sip_account_uuid => softkey.sip_account.try(:uuid), :softkeyable_uuid => softkey.softkeyable.try(:uuid), :softkeyable_type => softkey.softkeyable_type) } - if !@ringtones.blank? %ringtones |