mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-22 12:45:46 +08:00
add github token for mirror
This commit is contained in:
@@ -43,6 +43,7 @@ class Repository < ApplicationRecord
|
||||
validates :identifier, presence: true
|
||||
|
||||
delegate :default_branch, to: :project, allow_nil: true
|
||||
attr_accessor :auth_token
|
||||
|
||||
def to_param
|
||||
self.identifier.parameterize
|
||||
|
||||
Reference in New Issue
Block a user