mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-07-14 05:54:35 +08:00
FIX 合并主干分支代码并解决代码冲突
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ class User < Owner
|
||||
has_many :issues, dependent: :destroy, foreign_key: :author_id
|
||||
has_many :pull_requests, dependent: :destroy
|
||||
has_many :public_keys, class_name: "Gitea::PublicKey",primary_key: :gitea_uid, foreign_key: :owner_id, dependent: :destroy
|
||||
|
||||
|
||||
# Groups and active users
|
||||
scope :active, lambda { where(status: [STATUS_ACTIVE, STATUS_EDIT_INFO]) }
|
||||
scope :like, lambda { |keywords|
|
||||
|
||||
Reference in New Issue
Block a user