diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 22:54:59 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 22:54:59 +0100 |
commit | 45ab6dc23ef7d8d6ddf60ab355c2d1b3450f35c8 (patch) | |
tree | 4b1429700bdfb237dd3bd98cee19b46a16cb8b38 /app/views/tenants/_admin_area.de.html.haml | |
parent | 1e5c4e80fe27eddf87d0e01ea771e8ea050bc4c1 (diff) |
Cache fixes.
Diffstat (limited to 'app/views/tenants/_admin_area.de.html.haml')
-rw-r--r-- | app/views/tenants/_admin_area.de.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/tenants/_admin_area.de.html.haml b/app/views/tenants/_admin_area.de.html.haml index c3411bc..d111c9d 100644 --- a/app/views/tenants/_admin_area.de.html.haml +++ b/app/views/tenants/_admin_area.de.html.haml @@ -1,4 +1,4 @@ -- cache([I18n.locale, @tenant, UserGroup.count, UserGroup.order(:updated_at).last, User.count, User.order(:updated_at).last, Manufacturer.count, Manufacturer.order(:updated_at).last, PhoneModel.count]) do +- cache([I18n.locale, @tenant, UserGroup.count, UserGroup.order(:updated_at).last, User.count, User.order(:updated_at).last, Manufacturer.all]) do %p Sie sind Mitglied der = link_to 'Admin Gruppe', tenant_user_group_path(@tenant, @tenant.user_groups.find_by_name('Admins')) @@ -32,4 +32,3 @@ = render :partial => 'tenants/table_of_functions', :locals => {:tenant => @tenant} = render :partial => 'tenants/table_of_phone_books', :locals => {:tenant => @tenant} - |