From 2574f72834cdb5bd5e852478bdeeba29de77952a Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Fri, 3 Jan 2020 16:21:25 +0800 Subject: [PATCH] FIX bug --- app/controllers/projects_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/projects_controller.rb b/app/controllers/projects_controller.rb index 424b75515..293c9a5ff 100644 --- a/app/controllers/projects_controller.rb +++ b/app/controllers/projects_controller.rb @@ -30,7 +30,7 @@ class ProjectsController < ApplicationController end def branches - @branches = Gitea::Repository::BranchesService.new(current_user, @project.identifier).call + @branches = Gitea::Repository::BranchesService.new(@project.owner, @project.identifier).call end def group_type_list