diff options
author | James Ramsay <james@jramsay.com.au> | 2018-01-02 12:57:28 -0500 |
---|---|---|
committer | James Ramsay <james@jramsay.com.au> | 2018-01-04 11:22:04 -0500 |
commit | 4eaeea6e2067e564ed463e77884ffb42cdf1db24 (patch) | |
tree | d0d1f5a5232a13a4eec7ee580654862d9dcb3c10 /app/helpers/projects_helper.rb | |
parent | 3f44c4cedbbd9b72fdf28e83caaec345934e1d8d (diff) | |
download | gitlab-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.rb | 2 |
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', |