summaryrefslogtreecommitdiff
path: root/app/views/tenants/_admin_area.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-13 17:23:47 +0100
committerspag <spag@golwen.net>2013-01-13 17:23:47 +0100
commit0b717b40b596fcd6ba238b2b3066b33a91289fdf (patch)
tree5b225d4085ac89532413ed224438d3ba187fda5f /app/views/tenants/_admin_area.html.haml
parent0d5114566e73c44799eac83d46f159cd979f4fcc (diff)
parent9567f239586f253002dea0ed654b7bd18a15e572 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/tenants/_admin_area.html.haml')
-rw-r--r--app/views/tenants/_admin_area.html.haml2
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 56b0820..b479995 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.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
You belong to the
= link_to 'admin group', tenant_user_group_path(@tenant, @tenant.user_groups.find_by_name('Admins'))