diff options
author | barthc <mackintosh02@gmail.com> | 2016-06-23 12:44:50 +0100 |
---|---|---|
committer | barthc <mackintosh02@gmail.com> | 2016-06-23 12:44:50 +0100 |
commit | 9b49c466f2ad5f54de441160e625a874220aea28 (patch) | |
tree | 69ed687dea7b14e72c46304529e05df144cb8633 /app/views/search | |
parent | 6f4498484390592c1f65d4e9f269b94678e227c6 (diff) | |
download | gitlab-ce-9b49c466f2ad5f54de441160e625a874220aea28.tar.gz |
renamed path to link
Diffstat (limited to 'app/views/search')
-rw-r--r-- | app/views/search/results/_blob.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/search/results/_blob.html.haml b/app/views/search/results/_blob.html.haml index b28482f5db1..290743feb4a 100644 --- a/app/views/search/results/_blob.html.haml +++ b/app/views/search/results/_blob.html.haml @@ -2,10 +2,10 @@ .blob-result .file-holder .file-title - - blob_path = namespace_project_blob_path(@project.namespace, @project, tree_join(blob.ref, blob.filename)) - = link_to blob_path do + - blob_link = namespace_project_blob_path(@project.namespace, @project, tree_join(blob.ref, blob.filename)) + = link_to blob_link do %i.fa.fa-file %strong = blob.filename .file-content.code.term - = render 'shared/file_highlight', blob: blob, first_line_number: blob.startline, blob_path: blob_path + = render 'shared/file_highlight', blob: blob, first_line_number: blob.startline, blob_link: blob_link |