aboutsummaryrefslogtreecommitdiff
path: root/app/serializers
diff options
context:
space:
mode:
authorhellekin <hellekin@cepheide.org>2020-10-09 12:47:31 +0200
committerhellekin <hellekin@cepheide.org>2020-10-09 12:47:31 +0200
commitdd9e0691acae3eb63bdfbc8665eb3f8ce516536d (patch)
tree41d5889f2a0882b4f4356ed60683e908abf0b208 /app/serializers
parentfd9e9c4679ea36bed60acf01a43dda307db203e4 (diff)
downloadincommon-map-dd9e0691acae3eb63bdfbc8665eb3f8ce516536d.tar.gz
Fix Resource edition
Diffstat (limited to 'app/serializers')
-rw-r--r--app/serializers/hash_serializer.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/serializers/hash_serializer.rb b/app/serializers/hash_serializer.rb
deleted file mode 100644
index 5db639f..0000000
--- a/app/serializers/hash_serializer.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-class HashSerializer
- def self.dump(hash)
- hash.to_json
- end
-
- def self.load(hash)
- (hash || {}).with_indifferent_access
- end
-end