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:
Diffstat (limited to 'lib/gitlab/search_context.rb')
-rw-r--r--lib/gitlab/search_context.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/search_context.rb b/lib/gitlab/search_context.rb
index 04ef2be87f8..9a7f5fc7328 100644
--- a/lib/gitlab/search_context.rb
+++ b/lib/gitlab/search_context.rb
@@ -130,7 +130,7 @@ module Gitlab
elsif view_context.current_controller?(:commits)
'commits'
elsif view_context.current_controller?(:groups)
- if %w(issues merge_requests).include?(view_context.controller.action_name)
+ if %w[issues merge_requests].include?(view_context.controller.action_name)
view_context.controller.action_name
end
end