diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-14 14:41:28 +0200 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-14 14:41:28 +0200 |
| commit | e07b2f527fcaff6f2a998b0a74b0669389fbbbe6 (patch) | |
| tree | 340e0a081e6cb7295b0c880de63a2e2592796801 /app/controllers/search_controller.rb | |
| parent | 02b310dffbd4f65883e8b388edbd04afb87d2dd0 (diff) | |
| download | gitlab-ce-e07b2f527fcaff6f2a998b0a74b0669389fbbbe6.tar.gz | |
Fix global search
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/controllers/search_controller.rb')
| -rw-r--r-- | app/controllers/search_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/search_controller.rb b/app/controllers/search_controller.rb index c1648d6c387..8df84e9884a 100644 --- a/app/controllers/search_controller.rb +++ b/app/controllers/search_controller.rb @@ -7,6 +7,7 @@ class SearchController < ApplicationController if @project return access_denied! unless can?(current_user, :download_code, @project) + @search_results = Search::ProjectService.new(@project, current_user, params).execute else @search_results = Search::GlobalService.new(current_user, params).execute |
