mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 20:55:46 +08:00
fix: project code change to default
This commit is contained in:
@@ -18,7 +18,6 @@ class RepositoriesController < ApplicationController
|
||||
|
||||
# 新版项目详情
|
||||
def detail
|
||||
return render_not_found unless @project.has_menu_permission("code")
|
||||
@user = current_user
|
||||
@result = Repositories::DetailService.call(@owner, @repository, @user)
|
||||
@project_fork_id = @project.try(:forked_from_project_id)
|
||||
|
||||
Reference in New Issue
Block a user