summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Lee <mattl@gitlab.com>2016-11-30 13:41:18 -0500
committerMatt Lee <mattl@gitlab.com>2016-11-30 13:41:18 -0500
commit0619fb629dec69f28cb12b6ad896bbb38c841700 (patch)
tree329807d72628a19940e4f6852f7fbd5d3bea849d
parent509b5d45f241ad602a033d0d5198ebd094869b15 (diff)
downloadgitlab-ce-25167-default-readme-commit-message.tar.gz
WIP: Adds a default commit message when adding a README (#25167)25167-default-readme-commit-message
-rw-r--r--app/views/projects/empty.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/empty.html.haml b/app/views/projects/empty.html.haml
index 7a39064adc5..c0a83091c8c 100644
--- a/app/views/projects/empty.html.haml
+++ b/app/views/projects/empty.html.haml
@@ -16,7 +16,7 @@
%p
Otherwise you can start with adding a
= succeed ',' do
- = link_to "README", new_readme_path, class: 'underlined-link'
+ = link_to "README", add_special_file_path(@project, file_name: 'README.md'), class: 'underlined-link'
a
= succeed ',' do
= link_to "LICENSE", add_special_file_path(@project, file_name: 'LICENSE'), class: 'underlined-link'