summaryrefslogtreecommitdiff
path: root/app/views/call_forwards
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_forwards')
-rw-r--r--app/views/call_forwards/_index_core.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/call_forwards/_index_core.html.haml b/app/views/call_forwards/_index_core.html.haml
index 3c57405..ab8873b 100644
--- a/app/views/call_forwards/_index_core.html.haml
+++ b/app/views/call_forwards/_index_core.html.haml
@@ -22,7 +22,7 @@
- if call_forward.destinationable_type
%br
= call_forward.destinationable_type
- - if call_forward.destinationable_id
+ - if Module.constants.include?(call_forward.destinationable_type.to_sym)
= ": #{call_forward.destinationable}"
%td= call_forward.source
=render :partial => 'shared/index_view_edit_destroy_part', :locals => {:parent => call_forward.call_forwardable, :child => call_forward}