summaryrefslogtreecommitdiff
path: root/app/views/phones/show.html.haml
diff options
context:
space:
mode:
authorJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-23 18:03:06 +0100
committerJulian Pawlowski <julian.pawlowski@gmail.com>2013-01-23 18:03:06 +0100
commit398d5706752a583ff8bc3ec9101fc75b507bbb89 (patch)
treea31b27b4cd1a2e05e64199814ca0ab92eb177a62 /app/views/phones/show.html.haml
parente5db9179c75b6b6176e4f5b67ff94a10122ecfbd (diff)
parent4cad2a069fcead88579373a285a0516a3d500c43 (diff)
Merge branch 'develop' of https://github.com/amooma/GS5 into develop
Diffstat (limited to 'app/views/phones/show.html.haml')
-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}