BigW Consortium Gitlab

Commit 032a325e by tiagonbotelho

implements the form for renaming the new filename on the file edit page

parent 143fa8e7
...@@ -3,7 +3,6 @@ require_relative "base_service" ...@@ -3,7 +3,6 @@ require_relative "base_service"
module Files module Files
class UpdateService < Files::BaseService class UpdateService < Files::BaseService
def commit 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) repository.update_file(current_user, @file_path, @previous_path, @file_content, @commit_message, @target_branch, true)
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment