fix: project code change to default
This commit is contained in:
parent
223755a965
commit
8c2a543e61
|
@ -18,7 +18,6 @@ class RepositoriesController < ApplicationController
|
||||||
|
|
||||||
# 新版项目详情
|
# 新版项目详情
|
||||||
def detail
|
def detail
|
||||||
return render_not_found unless @project.has_menu_permission("code")
|
|
||||||
@user = current_user
|
@user = current_user
|
||||||
@result = Repositories::DetailService.call(@owner, @repository, @user)
|
@result = Repositories::DetailService.call(@owner, @repository, @user)
|
||||||
@project_fork_id = @project.try(:forked_from_project_id)
|
@project_fork_id = @project.try(:forked_from_project_id)
|
||||||
|
|
Loading…
Reference in New Issue