mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 23:15:34 +08:00
Merge pull request #488 from okriuchykhin/ok_SCI_1004_v2
Fix circular dependency while loading Settings [SCI-1004]
This commit is contained in:
commit
dc70bbf99a
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