diff options
author | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-02-20 11:56:36 -0300 |
---|---|---|
committer | Oswaldo Ferreira <oswaldo@gitlab.com> | 2018-02-20 13:03:06 -0300 |
commit | e0e3f1c2750b6db9343d530d00b096bcb1a57677 (patch) | |
tree | 1ee744d81f999a06250c11c41c363cf29b5ce52e /app/views/projects/_readme.html.haml | |
parent | ccc858a5dfdb446d9648db2449d3ee3ef7a2be59 (diff) | |
download | gitlab-ce-e0e3f1c2750b6db9343d530d00b096bcb1a57677.tar.gz |
Move button list logic to project presenter
Diffstat (limited to 'app/views/projects/_readme.html.haml')
-rw-r--r-- | app/views/projects/_readme.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_readme.html.haml b/app/views/projects/_readme.html.haml index aebdfbc8218..705338c083e 100644 --- a/app/views/projects/_readme.html.haml +++ b/app/views/projects/_readme.html.haml @@ -20,4 +20,4 @@ distributed with computer software, forming part of its documentation. GitLab will render it here instead of this message. %p - = link_to "Add Readme", add_special_file_path(@project, file_name: 'README.md'), class: 'btn btn-new' + = link_to "Add Readme", @project.add_readme_path, class: 'btn btn-new' |