diff options
author | Valery Sizov <valery@gitlab.com> | 2016-09-14 13:29:23 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-09-14 14:31:02 +0300 |
commit | 6355041affb9b0b493d041d8b11772b8423bb32e (patch) | |
tree | 4764f436baba36b28258046a1277df5f554273b3 /app/views/search | |
parent | eab72755cd9e0ac7f9ba6d30ad877b3aef14841b (diff) | |
download | gitlab-ce-6355041affb9b0b493d041d8b11772b8423bb32e.tar.gz |
Backport search_helper changes from EEbackport_to_search_helper_from_ee
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_blob.html.haml | 2 | ||||
-rw-r--r-- | app/views/search/results/_wiki_blob.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/search/results/_blob.html.haml b/app/views/search/results/_blob.html.haml index 290743feb4a..6f0a0ea36ec 100644 --- a/app/views/search/results/_blob.html.haml +++ b/app/views/search/results/_blob.html.haml @@ -1,4 +1,4 @@ -- blob = @project.repository.parse_search_result(blob) +- blob = parse_search_result(blob) .blob-result .file-holder .file-title diff --git a/app/views/search/results/_wiki_blob.html.haml b/app/views/search/results/_wiki_blob.html.haml index 235106c4f74..648d0bd76cb 100644 --- a/app/views/search/results/_wiki_blob.html.haml +++ b/app/views/search/results/_wiki_blob.html.haml @@ -1,4 +1,4 @@ -- wiki_blob = @project.repository.parse_search_result(wiki_blob) +- wiki_blob = parse_search_result(wiki_blob) .blob-result .file-holder .file-title |