mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
FIX code bug
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
class Ci::CloudAccount < Local::Base
|
||||
|
||||
class Ci::CloudAccount < Ci::LocalBase
|
||||
belongs_to :project
|
||||
belongs_to :user
|
||||
|
||||
@@ -12,7 +11,7 @@ class Ci::CloudAccount < Local::Base
|
||||
end
|
||||
|
||||
def drone_url
|
||||
["http://", drone_host].join
|
||||
["http://", self.drone_host].join
|
||||
end
|
||||
|
||||
def visible_secret
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Ci::Language < Local::Base
|
||||
class Ci::Language < Ci::LocalBase
|
||||
# before_save :encode_content
|
||||
|
||||
belongs_to :cover, class_name: "Attachment", foreign_key: :cover_id, optional: true
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
class Local::Base < ApplicationRecord
|
||||
class Ci::LocalBase < ApplicationRecord
|
||||
def self.table_name_prefix
|
||||
"ci_"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user