From 854c8efaa9416154eaf587ded75fce7f42a8f1b8 Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Thu, 30 May 2013 22:19:00 -0400 Subject: [PATCH] only admins can see checkins --- app/components/app_tab_panel.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/components/app_tab_panel.rb b/app/components/app_tab_panel.rb index 034876e..39c8fd5 100644 --- a/app/components/app_tab_panel.rb +++ b/app/components/app_tab_panel.rb @@ -48,13 +48,12 @@ class AppTabPanel < Netzke::Basepack::TabPanel title: "Users/Transactions"}] end if can? :manage, ::ActsAsLoggable::Log.all - @@app_tab_panel_items.concat [:logs] + @@app_tab_panel_items.concat [:logs, :check_ins] end if can? :manage, Role @@app_tab_panel_items.concat [{ layout: :fit, wrappedComponent: :user_role_joins, title: "User Roles"}, - :check_ins ] end