Change implementation of the Settings base class [SCI-1004]

This commit is contained in:
Oleksii Kriuchykhin 2017-02-21 13:07:10 +01:00
parent 2aba0f46a6
commit 7703db3386

View file

@ -1,3 +1,7 @@
class Settings < ActiveRecord::Base
private_class_method :new
@instance = first
def self.instance
@instance ||= new
end
end