cheap_ams 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca061de19714fd3610caebaf8bba44151ee29b1a
|
4
|
+
data.tar.gz: 026a16914892dfc0671e524bd1e4072ce5de9111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95ca53dd0fbba8cc2347c005fc777bb7186f3c65ed4bb176aa2cbdff4998a6e317ca5dc99a6f649d9c4edcef3529970c47c44cff7584f5fb9ab86107c095654b
|
7
|
+
data.tar.gz: 6d1851ace815bdf473f25aa6ad66d47fa9a21776232449c5683ff4e0e5fea79ac30ba0d301881bb6532115684b4d2ab468f106311f416f2260507dc42863ecd5
|
@@ -162,7 +162,7 @@ module ActiveModel
|
|
162
162
|
end
|
163
163
|
|
164
164
|
def add_links(options)
|
165
|
-
links = @hash.fetch(:
|
165
|
+
links = @hash.fetch(:meta) { {} }
|
166
166
|
resources = serializer.instance_variable_get(:@resource)
|
167
167
|
@hash[:meta] = add_pagination_links(links, resources, options) if is_paginated?(resources)
|
168
168
|
end
|