diff options
author | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-01 16:32:56 +0100 |
---|---|---|
committer | tiagonbotelho <tiagonbotelho@hotmail.com> | 2016-07-12 15:38:23 +0100 |
commit | 494afb4e36ae1418e3f37eca2faead6535125b36 (patch) | |
tree | 3f45f73240764ddb9d702486bcf2fd845931a4eb /app/services | |
parent | 840335ec8378ec71cc09f71e0e82d29198d909e4 (diff) | |
download | gitlab-ce-494afb4e36ae1418e3f37eca2faead6535125b36.tar.gz |
implements the form for renaming the new filename on the file edit page
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/files/update_service.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/files/update_service.rb b/app/services/files/update_service.rb index 905c7a7c81a..cbcbdafe21a 100644 --- a/app/services/files/update_service.rb +++ b/app/services/files/update_service.rb @@ -3,6 +3,7 @@ require_relative "base_service" module Files class UpdateService < Files::BaseService def commit + repository.update_file(current_user, @file_path, @file_content, @target_branch, previous_path: @previous_path, message: @commit_message, update: true) |