summaryrefslogtreecommitdiff
path: root/app/views/phones
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 17:36:33 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-23 17:36:33 +0100
commite84e82032813b7acd71f8073d00f57e1cd65eb7c (patch)
treea1cb86a2d1857bde39932c89a4739ca8dcf01767 /app/views/phones
parentf67005b1bcbf4b0049b8d60dfcc669bd98745a49 (diff)
Fixed I18n bug.
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}