修改repostiroy的identifier

dev_forge
sylor_huang@126.com 5 years ago
parent e523011736
commit b7301dc028

@ -127,7 +127,7 @@ class IssuesController < ApplicationController
def new
@all_branches = []
get_all_branches = Gitea::Repository::BranchesService.new(@user, @repository.try(:identifier)).call
get_all_branches = Gitea::Repository::BranchesService.new(@user, @project.repository.try(:identifier)).call
if get_all_branches && get_all_branches.size > 0
get_all_branches.each do |b|
@all_branches.push(b["name"])

Loading…
Cancel
Save