summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-01-04 17:11:18 +0000
committerDouwe Maan <douwe@gitlab.com>2018-01-04 17:11:18 +0000
commit222f0143a975814ead43231fc64202c2a4675db2 (patch)
tree00be84038a6a6d5d9dfffc4f67f0846d054e9de1 /app/helpers
parentd83c4049de46b44c2ac8140345d74fb8f0487370 (diff)
parent4eaeea6e2067e564ed463e77884ffb42cdf1db24 (diff)
downloadgitlab-ce-222f0143a975814ead43231fc64202c2a4675db2.tar.gz
Merge branch 'jramsay-41590-add-readme-case' into 'master'
Remove downcase from special path helper Closes #41590 See merge request gitlab-org/gitlab-ce!16232
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 4a6b22b5ff6..f7bdcc6fd9c 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -389,7 +389,7 @@ module ProjectsHelper
end
def add_special_file_path(project, file_name:, commit_message: nil, branch_name: nil, context: nil)
- commit_message ||= s_("CommitMessage|Add %{file_name}") % { file_name: file_name.downcase }
+ commit_message ||= s_("CommitMessage|Add %{file_name}") % { file_name: file_name }
project_new_blob_path(
project,
project.default_branch || 'master',