2019-05-09 23:10:02 +08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-06-23 21:19:08 +08:00
|
|
|
class Settings < ApplicationRecord
|
2017-02-21 20:07:10 +08:00
|
|
|
def self.instance
|
2022-05-26 19:27:18 +08:00
|
|
|
first || new
|
2017-02-21 20:07:10 +08:00
|
|
|
end
|
2017-02-17 23:49:56 +08:00
|
|
|
end
|