mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-07 13:44:23 +08:00
Changing double quotes to single quotes
This commit is contained in:
parent
3ec62758fe
commit
d2dfe68e46
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
class JsonbHashSerializer
|
class JsonbHashSerializer
|
||||||
def self.dump(hash)
|
def self.dump(hash)
|
||||||
hash.nil? ? "{}" : hash.to_json
|
hash.nil? ? '{}' : hash.to_json
|
||||||
end
|
end
|
||||||
|
|
||||||
def self.load(hash)
|
def self.load(hash)
|
||||||
|
|
Loading…
Add table
Reference in a new issue