diff options
author | spag <spag@golwen.net> | 2013-02-12 08:19:10 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-12 08:19:10 +0100 |
commit | 8e55bf891a0520ba241585d8295ccc37ed57b09e (patch) | |
tree | df823d812586612de3a285e22a4cca52170a9b60 /app/views/tenants/show.html.haml | |
parent | d1145ad9d4f495d7416ed97e0dd3c17365990323 (diff) | |
parent | 3d817bef265f70b147455db4b0fb5e1ca3c0d379 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/tenants/show.html.haml')
-rw-r--r-- | app/views/tenants/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tenants/show.html.haml b/app/views/tenants/show.html.haml index 818e584..23ec81a 100644 --- a/app/views/tenants/show.html.haml +++ b/app/views/tenants/show.html.haml @@ -15,4 +15,4 @@ = render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @tenant } - if @tenant.user_groups.where(:name => 'Admins').any? && @tenant.user_groups.where(:name => 'Admins').first.users.include?(current_user) - = render :partial => 'admin_area', :locals => { :tenant => @tenant, :gateways => @gateways}
\ No newline at end of file + = render :partial => 'admin_area', :locals => { :tenant => @tenant, :gateways => @gateways, :backup_jobs => @backup_jobs}
\ No newline at end of file |