summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-17 21:31:22 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-09-17 21:31:22 +0300
commit6dff16a6799cc34cd2cf70cebce70bbffc70c3f5 (patch)
treefbf0c0bcc3e2537f6ab5c54134020059479c9c7e /app
parent630d042433e0cecffe80aa5ebd7aa7a91c5eb2d8 (diff)
parentd771253bdbad9f5de3923fbd3f075019dce13fcf (diff)
downloadgitlab-ce-6dff16a6799cc34cd2cf70cebce70bbffc70c3f5.tar.gz
Merge branch 'readme-anchor' of https://dev.gitlab.org/dzaporozhets/gitlabhq into 7-4-pre
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/tree/_readme.html.haml7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/projects/tree/_readme.html.haml b/app/views/projects/tree/_readme.html.haml
index 9d0292059d6..ec2701af0eb 100644
--- a/app/views/projects/tree/_readme.html.haml
+++ b/app/views/projects/tree/_readme.html.haml
@@ -1,6 +1,7 @@
%article.readme-holder#README
- %h4.readme-file-title
- %i.icon-file
- = readme.name
+ = link_to '#README' do
+ %h4.readme-file-title
+ %i.icon-file
+ = readme.name
.wiki
= render_readme(readme)