mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-16 23:18:56 +08:00
新增:load_project新增repository
This commit is contained in:
@@ -6,7 +6,8 @@ module Api::ProjectHelper
|
|||||||
repo = params[:repo]
|
repo = params[:repo]
|
||||||
|
|
||||||
@project, @owner = Project.find_with_namespace(namespace, repo)
|
@project, @owner = Project.find_with_namespace(namespace, repo)
|
||||||
|
@repository = @project&.repository
|
||||||
|
|
||||||
if @project
|
if @project
|
||||||
logger.info "###########:project founded"
|
logger.info "###########:project founded"
|
||||||
@project
|
@project
|
||||||
|
|||||||
Reference in New Issue
Block a user