fix: project code change to default

This commit is contained in:
2021-03-22 11:16:35 +08:00
parent 223755a965
commit 8c2a543e61

View File

@@ -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)