Browse Source

show commmits

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

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

@@ -53,6 +53,8 @@ class RepositoriesController < ApplicationController
@project_owner = @project.owner
@hash_commit = Gitea::Repository::Commits::ListService.new(@project_owner.login, @project.identifier,
sha: params[:sha], page: params[:page], limit: params[:limit], token: current_user&.gitea_token).call
Rails.logger.info("#####################_______hash_commit______############{@hash_commit}")
Rails.logger.info("#####################_______hash_commit_size______############{@hash_commit.size}")
end
def commit


Loading…
Cancel
Save