mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-18 23:21:30 +08:00
e3c337aa3d
* Renaming settings section and remove caching for Settings class [SCI-5625] * Code fix for setting model [SCI-5625] * Clean code [SCI-5625]
7 lines
113 B
Ruby
7 lines
113 B
Ruby
# frozen_string_literal: true
|
|
|
|
class Settings < ApplicationRecord
|
|
def self.instance
|
|
first || new
|
|
end
|
|
end
|