summaryrefslogtreecommitdiff
path: root/app/controllers/search_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/search_controller.rb')
-rw-r--r--app/controllers/search_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb
index 30bcb49bb2e..71e2d92b2b2 100644
--- a/app/controllers/search_controller.rb
+++ b/app/controllers/search_controller.rb
@@ -8,8 +8,8 @@ class SearchController < ApplicationController
if query.present?
@projects = current_user.projects.search(query).limit(10)
- @merge_requests = MergeRequest.where(:project_id => current_user.project_ids).search(query).limit(10)
- @issues = Issue.where(:project_id => current_user.project_ids).search(query).limit(10)
+ @merge_requests = MergeRequest.where(project_id: current_user.project_ids).search(query).limit(10)
+ @issues = Issue.where(project_id: current_user.project_ids).search(query).limit(10)
end
end
end