summaryrefslogtreecommitdiff
path: root/app/helpers/projects_helper.rb
diff options
context:
space:
mode:
authorJames Ramsay <james@jramsay.com.au>2018-01-02 12:57:28 -0500
committerJames Ramsay <james@jramsay.com.au>2018-01-04 11:22:04 -0500
commit4eaeea6e2067e564ed463e77884ffb42cdf1db24 (patch)
treed0d1f5a5232a13a4eec7ee580654862d9dcb3c10 /app/helpers/projects_helper.rb
parent3f44c4cedbbd9b72fdf28e83caaec345934e1d8d (diff)
downloadgitlab-ce-4eaeea6e2067e564ed463e77884ffb42cdf1db24.tar.gz
Remove downcase from special path helper
Diffstat (limited to 'app/helpers/projects_helper.rb')
-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',