This website requires JavaScript.
Explore
Help
Sign in
scinote-eln
/
scinote-web
Watch
1
Star
1
Fork
You've already forked scinote-web
0
mirror of
https://github.com/scinote-eln/scinote-web.git
synced
2024-11-15 21:56:12 +08:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
9b640c5df8
scinote-web
/
app
/
models
/
settings.rb
7 lines
112 B
Ruby
Raw
Normal View
History
Unescape
Escape
Add global settings base class [SCI-1004]
2017-02-17 23:49:56 +08:00
class
Settings
<
ActiveRecord
::
Base
Change implementation of the Settings base class [SCI-1004]
2017-02-21 20:07:10 +08:00
def
self
.
instance
Fix circular dependency while loading Settings [SCI-1004]
2017-02-21 21:38:13 +08:00
@instance
||
=
first
Change implementation of the Settings base class [SCI-1004]
2017-02-21 20:07:10 +08:00
@instance
||
=
new
end
Add global settings base class [SCI-1004]
2017-02-17 23:49:56 +08:00
end
Reference in a new issue
Copy permalink