mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-16 09:45:57 +08:00
Change
This commit is contained in:
@@ -116,7 +116,7 @@ class ProjectsController < ApplicationController
|
||||
end
|
||||
|
||||
def project_public?
|
||||
return if @project.is_public
|
||||
return if @project.is_public?
|
||||
|
||||
if current_user
|
||||
return if current_user.admin? || @project.member?(current_user.id)
|
||||
|
||||
Reference in New Issue
Block a user