summaryrefslogtreecommitdiff
path: root/app/views/phones
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/phones')
-rw-r--r--app/views/phones/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phones/show.html.haml b/app/views/phones/show.html.haml
index 97cb1a8..b34bdcd 100644
--- a/app/views/phones/show.html.haml
+++ b/app/views/phones/show.html.haml
@@ -73,7 +73,7 @@
.row
.span12
%h2= t("phones.sip_accounts.title")
- - if @phone.phone_sip_accounts.count > 0
+ - if @phone.phone_sip_accounts.any?
= render "phone_sip_accounts/index_core", :phone_sip_accounts => @phone.phone_sip_accounts
= render :partial => 'shared/create_link', :locals => {:parent => @phone, :child_class => PhoneSipAccount}