diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-15 21:47:26 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-15 21:47:26 +0100 |
commit | 96fc4789d9991548b9fd1144f185da1f3464f156 (patch) | |
tree | 63a96aafcf4f3b9c57355261a35e728c36c064cd /app/views/tenants/_admin_area.html.haml | |
parent | 6b7cbac8a2a274c1839e8ea6aa293d0e6e49d370 (diff) |
Fixed caching bugs.
Diffstat (limited to 'app/views/tenants/_admin_area.html.haml')
-rw-r--r-- | app/views/tenants/_admin_area.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tenants/_admin_area.html.haml b/app/views/tenants/_admin_area.html.haml index b1b17a3..65810e7 100644 --- a/app/views/tenants/_admin_area.html.haml +++ b/app/views/tenants/_admin_area.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.all]) do +- cache(['tenant_show_admin_area', I18n.locale, @tenant, UserGroup.count, UserGroup.order(:updated_at).last, User.count, User.order(:updated_at).last, Manufacturer.all]) do %p You belong to the = link_to 'admin group', tenant_user_group_path(@tenant, @tenant.user_groups.find_by_name('Admins')) |