diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-23 17:36:33 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-23 17:36:33 +0100 |
commit | e84e82032813b7acd71f8073d00f57e1cd65eb7c (patch) | |
tree | a1cb86a2d1857bde39932c89a4739ca8dcf01767 /app/views/phones/show.html.haml | |
parent | f67005b1bcbf4b0049b8d60dfcc669bd98745a49 (diff) |
Fixed I18n bug.
Diffstat (limited to 'app/views/phones/show.html.haml')
-rw-r--r-- | app/views/phones/show.html.haml | 2 |
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} |