mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
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:
parent
5ceab30aa7
commit
e3c337aa3d
2 changed files with 3 additions and 4 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
class Settings < ApplicationRecord
|
||||
def self.instance
|
||||
@instance ||= first
|
||||
@instance ||= new
|
||||
first || new
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue