测试commits

This commit is contained in:
sylor_huang@126.com 2020-04-22 14:41:01 +08:00
parent 9498c438cd
commit 482888bcb9
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ 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