测试gitea的git——params

This commit is contained in:
sylor_huang@126.com
2020-04-22 14:54:51 +08:00
parent 482888bcb9
commit dc5bf457f6
2 changed files with 1 additions and 2 deletions

View File

@@ -39,8 +39,6 @@ class RepositoriesController < ApplicationController
def commits
@hash_commit = Gitea::Repository::Commits::ListService.new(@project.owner, @project.identifier, sha: params[:sha], page: params[:page]).call
Rails.logger.info("######__________________#####{@hash_commit}")
@hash_commit
end
def single_commit