diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-02-09 17:56:15 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-02-09 17:56:15 -0500 |
commit | d1f10c6666c9e27967739fc7cf33c6101de6a22e (patch) | |
tree | 07060ee88b0df3acf0794e3bf2f5c095313bbb32 /app/views/projects/tree | |
parent | 4317b22741e0ffe7f3e6fe5227889cf85ccd7121 (diff) | |
download | gitlab-ce-d1f10c6666c9e27967739fc7cf33c6101de6a22e.tar.gz |
Ensure link for README blobs includes the full pathrs-issue-13254
Closes #13254
Diffstat (limited to 'app/views/projects/tree')
-rw-r--r-- | app/views/projects/tree/_readme.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml index 3c5edf4b033..baaa2caa6de 100644 --- a/app/views/projects/tree/_readme.html.haml +++ b/app/views/projects/tree/_readme.html.haml @@ -1,7 +1,7 @@ %article.file-holder.readme-holder .file-title = blob_icon readme.mode, readme.name - = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, readme.name)) do + = link_to namespace_project_blob_path(@project.namespace, @project, tree_join(@repository.root_ref, @path, readme.name)) do %strong = readme.name .file-content.wiki |