summaryrefslogtreecommitdiff
path: root/app/views/search
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-10 17:50:50 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-10 17:50:50 +0200
commitf6609c9882c1d85b7f31072e6341fe5c91b37b41 (patch)
treee9f58390c7c4ac220406e9012f016dceeea6bca4 /app/views/search
parent77025ad8e33cc99c645febe9b51fbf9931a62bcf (diff)
downloadgitlab-ce-f6609c9882c1d85b7f31072e6341fe5c91b37b41.tar.gz
Implement search of code via git grepsearch-git-grep
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/search')
-rw-r--r--app/views/search/results/_blob.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/search/results/_blob.html.haml b/app/views/search/results/_blob.html.haml
index 84e9be82c44..9be13207070 100644
--- a/app/views/search/results/_blob.html.haml
+++ b/app/views/search/results/_blob.html.haml
@@ -1,3 +1,4 @@
+- blob = @project.repository.search_to_blob(blob)
.blob-result
.file-holder
.file-title