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]
This commit is contained in:
ajugo 2022-05-26 13:27:18 +02:00 committed by GitHub
parent 5ceab30aa7
commit e3c337aa3d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,6 @@
class Settings < ApplicationRecord
def self.instance
@instance ||= first
@instance ||= new
first || new
end
end

View file

@ -2092,8 +2092,8 @@ en:
teams: "Teams"
webhooks: "Webhooks"
account_nav:
profile: "Profile"
preferences: "Preferences"
profile: "My profile"
preferences: "My preferences"
addons: "Add-ons"
connected_accounts: "Connected Accounts"
account: