Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattl <mattl@gitlab.com>2016-12-02 20:04:03 +0300
committermattl <mattl@gitlab.com>2016-12-02 20:04:03 +0300
commit76d8c2e656da5a7411c2150bf60ad214e0bb0ce1 (patch)
treec100b48a55871dc5bde4ea8eff623b026f0f33ce /app/views/projects/_readme.html.haml
parent0619fb629dec69f28cb12b6ad896bbb38c841700 (diff)
WIP: Adds a default commit message when adding a README (#25167)
Diffstat (limited to 'app/views/projects/_readme.html.haml')
-rw-r--r--app/views/projects/_readme.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_readme.html.haml b/app/views/projects/_readme.html.haml
index 369a847e7d4..b6fb08b68e9 100644
--- a/app/views/projects/_readme.html.haml
+++ b/app/views/projects/_readme.html.haml
@@ -18,5 +18,5 @@
distributed with computer software, forming part of its documentation.
%p
We recommend you to
- = link_to "add a README", new_readme_path, class: 'underlined-link'
+ = link_to "add a README", add_special_file_path(@project, file_name: 'README.md'), class: 'underlined-link'
file to the repository and GitLab will render it here instead of this message.