ocean-rails 2.0.5 → 2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean/ocean_application_controller.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 442f1cc9737343e717a9d98b1642b3bcde8150bf
|
4
|
+
data.tar.gz: f55daf2bfcbfcb13afb271d8381d59cd0b647336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7018284d6f20b4c55001c178809e82b8e2eee873057494d9b0eeea638b30b19a09e9eab5b44c6d6df21723bdb9854d6413fd3744711aebc7f7b023b927a01dc
|
7
|
+
data.tar.gz: 85c9914342869ff6ca5a8360f3dfb6d3d6b7b6ac79fa1dfab60a87da0cf44384cc03351198791b33251f4aadd5f4cf85a5845449472634e1e52c7dd635351e80
|
@@ -177,7 +177,7 @@ module OceanApplicationController
|
|
177
177
|
resources = x.dup.collect { |m| render_to_string(partial: m.to_partial_path,
|
178
178
|
locals: {m.class.model_name.i18n_key => m}) }
|
179
179
|
attrs = {count: resources.count,
|
180
|
-
total_count: x.unscope(:
|
180
|
+
total_count: x.unscope(:limit, :offset).count
|
181
181
|
}
|
182
182
|
links = {}
|
183
183
|
if href
|
data/lib/ocean/version.rb
CHANGED