debian-mirror-gitlab/app/services/files/update_service.rb
2015-10-24 18:46:33 +05:30

9 lines
231 B
Ruby

require_relative "base_service"
module Files
class UpdateService < Files::BaseService
def commit
repository.commit_file(current_user, @file_path, @file_content, @commit_message, @target_branch, true)
end
end
end