mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 05:02:50 +08:00
Fix circular dependency while loading Settings [SCI-1004]
This commit is contained in:
parent
ea1711be83
commit
53ba9437b2
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,6 @@
|
|||
class Settings < ActiveRecord::Base
|
||||
@instance = first
|
||||
|
||||
def self.instance
|
||||
@instance ||= first
|
||||
@instance ||= new
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue