Browse Source

测试update_file

tags/v1
sylor_huang@126.com 6 years ago
parent
commit
5a426fc149
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/controllers/repositories_controller.rb

+ 1
- 0
app/controllers/repositories_controller.rb View File

@@ -57,6 +57,7 @@ class RepositoriesController < ApplicationController
end
def update_file
Rails.logger.info("##################_________params_____________#########{params}")
interactor = Gitea::UpdateFileInteractor.call(current_user, params.merge(identifier: @project.identifier).compact)
if interactor.success?
@file = interactor.result


Loading…
Cancel
Save