diff options
author | Nick Thomas <nick@gitlab.com> | 2017-04-03 20:31:52 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-04-03 20:51:44 +0300 |
commit | 7f32ad7097b8badcad98a52b9373d67ce7f33184 (patch) | |
tree | 69959252cb083ae2b17b6a00a15cc43a03356f6f /lib/gitlab/project_search_results.rb | |
parent | 872b3215d2f07a11e4b5a3dc163fc5c39423ef78 (diff) |
Fix blob highlighting in search
Diffstat (limited to 'lib/gitlab/project_search_results.rb')
-rw-r--r-- | lib/gitlab/project_search_results.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb index db325c00705..0b8959f2fb9 100644 --- a/lib/gitlab/project_search_results.rb +++ b/lib/gitlab/project_search_results.rb @@ -62,7 +62,7 @@ module Gitlab data << line.sub(ref, '').sub(filename, '').sub(/^:-\d+-/, '').sub(/^::\d+:/, '') end - OpenStruct.new( + FoundBlob.new( filename: filename, basename: basename, ref: ref, |