From 9b80c09bfb43b8e086566b84e17683394614d557 Mon Sep 17 00:00:00 2001 From: "konstantin.grabar" Date: Wed, 2 Nov 2011 13:30:14 +0400 Subject: [PATCH] [refs #2161] Remove groups from menu --- app/views/layouts/application.html.haml | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 51da9cb72..112d47317 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -19,9 +19,6 @@ -if current_user.can_perform?('users', 'index') %li{:class => controller.controller_path == 'users' ? 'active' : '' } %a{:href => users_path}= t("layout.menu.users") - -if current_user.can_perform?('groups', 'index') - %li{:class => controller.controller_path == 'groups' ? 'active' : '' } - %a{:href => groups_path}= t("layout.menu.groups") -if current_user.can_perform?('platforms', 'index') %li{:class => controller.controller_path == 'platforms' ? 'active' : '' } %a{:href => platforms_path}= t("layout.menu.platforms")