scinote-web/app/models/settings.rb

7 lines
111 B
Ruby
Raw Normal View History

2017-06-23 21:19:08 +08:00
class Settings < ApplicationRecord
def self.instance
@instance ||= first
@instance ||= new
end
end