scinote-web/app/models/settings.rb
ajugo e3c337aa3d
Renaming settings section and remove caching for Settings class [SCI-5625] (#4100)
* Renaming settings section and remove caching for Settings class [SCI-5625]

* Code fix for setting model [SCI-5625]

* Clean code [SCI-5625]
2022-05-26 13:27:18 +02:00

7 lines
113 B
Ruby

# frozen_string_literal: true
class Settings < ApplicationRecord
def self.instance
first || new
end
end