cheap_ams 0.10.7 → 0.10.8
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: c11a7633ccf053404efecf2697bfd9752aae2c9f
|
4
|
+
data.tar.gz: bd233c341599ef68b1675006e377f2c42c324d59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0490358ba5efc8a4b511ed881e2a4e1b7eec74fe9718fdeaec1439715a934ed60e4131725a05fc5ce2b8486ebb0a4fad7899ea8c544cc32933d6f7f8eb09a16
|
7
|
+
data.tar.gz: 4ea5b8af5728285995945cdd8095f25ecadb444cd6919c0ad846865e1e44e849fa4216cd704b2880a404155839efbfdd185b8b901616a2c41f86b2363334a854
|
@@ -158,7 +158,7 @@ module ActiveModel
|
|
158
158
|
def add_links(options)
|
159
159
|
links = @hash.fetch(:meta) { {} }
|
160
160
|
collection = serializer.object
|
161
|
-
@hash[:meta] = add_pagination_links(links, collection, options) if
|
161
|
+
@hash[:meta] = add_pagination_links(links, collection, options) if paginated?(collection)
|
162
162
|
end
|
163
163
|
|
164
164
|
def add_pagination_links(links, collection, options)
|