summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortiagonbotelho <tiagonbotelho@hotmail.com>2016-07-01 16:32:56 +0100
committertiagonbotelho <tiagonbotelho@hotmail.com>2016-07-06 14:18:37 +0100
commit032a325e0075bbda173d151a0f0c56d0dc6957df (patch)
tree2529668c8452cb1939278fc301832f3692de0d4e
parent143fa8e7ca9d4c16f5008d2fe123886578bb0015 (diff)
downloadgitlab-ce-032a325e0075bbda173d151a0f0c56d0dc6957df.tar.gz
implements the form for renaming the new filename on the file edit page
-rw-r--r--app/services/files/update_service.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/files/update_service.rb b/app/services/files/update_service.rb
index 6d015642b91..fefa1d4ef68 100644
--- a/app/services/files/update_service.rb
+++ b/app/services/files/update_service.rb
@@ -3,7 +3,6 @@ require_relative "base_service"
module Files
class UpdateService < Files::BaseService
def commit
- # Need to update file_path with the new filename
repository.update_file(current_user, @file_path, @previous_path, @file_content, @commit_message, @target_branch, true)
end
end