FIX code bug
This commit is contained in:
parent
137e780db4
commit
e7a0bc7e0f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue