Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas <nicolas@gitlab.com>2015-06-16 01:32:14 +0300
committerNicolas <nicolas@gitlab.com>2015-06-24 19:05:16 +0300
commita521e88fc065242b61becbe101ced908e7dadfbd (patch)
tree4f8d3a0de26b5f9fe6f617ea5d656decf11310da /app/helpers
parentc465af093096990ee42b3021fce157d02b8864cb (diff)
Fix consistency issue in sidebars of Project and Group Settings.
Fixes #2277.
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/groups_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb
index 3569ac2af63..b067cb54a43 100644
--- a/app/helpers/groups_helper.rb
+++ b/app/helpers/groups_helper.rb
@@ -19,14 +19,6 @@ module GroupsHelper
end
end
- def group_settings_page?
- if current_controller?('groups')
- current_action?('edit') || current_action?('projects')
- else
- false
- end
- end
-
def group_icon(group)
if group.is_a?(String)
group = Group.find_by(path: group)