mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 04:35:45 +08:00
Change
This commit is contained in:
@@ -122,7 +122,7 @@ class Project < ApplicationRecord
|
||||
|
||||
|
||||
def can_visited?
|
||||
is_public || User.current.admin? || member?(User.current)
|
||||
is_public? || User.current.admin? || member?(User.current)
|
||||
end
|
||||
|
||||
def releases_size(current_user_id, type)
|
||||
|
||||
Reference in New Issue
Block a user