diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 19:42:33 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-26 19:42:33 +0100 |
commit | f03fadb2bffe54c01a5bba5dbac5f9c2e9d099c1 (patch) | |
tree | ad2d0756b891c6f3eb16ccce8ede3ab174a0f54e /app | |
parent | 52f6d8691cd014b7dc94f5cc7a9ad8dff8a4b6cf (diff) |
Logic bugfix.
Diffstat (limited to 'app')
-rw-r--r-- | app/views/tenants/_table_of_sip_accounts.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/tenants/_table_of_sip_accounts.html.haml b/app/views/tenants/_table_of_sip_accounts.html.haml index ff36531..34eeb14 100644 --- a/app/views/tenants/_table_of_sip_accounts.html.haml +++ b/app/views/tenants/_table_of_sip_accounts.html.haml @@ -1,6 +1,6 @@ -- cache(['tenant_show_table_of_sip_accounts', I18n.locale, tenant, tenant.sip_accounts.count, tenant.sip_accounts.reorder(:updated_at).last]) do +- cache(['tenant_show_table_of_sip_accounts', I18n.locale, tenant, tenant.sip_accounts.count, SipAccount.count, tenant.sip_accounts.reorder(:updated_at).last]) do .row - - if GsParameter.get('AUTO_ADMIN_ONLINE_HELP') == true && !tenant.sip_accounts.any? + - if GsParameter.get('AUTO_ADMIN_ONLINE_HELP') == true && !SipAccount.any? .span4 -# SIP accounts -# |