ocean-rails 2.0.7 → 2.0.8
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 +2 -2
- 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: 3bb5b73ec236ad99108aeff9b8f85b9840d68b19
|
4
|
+
data.tar.gz: 6ba40090f25e11d957d0ccba50a5cdc1d70d8c77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6060f4e6d31e077f10066e59a73e876f1e3874c88f53cebb6ed972fd2c94b133c99340137c344b5c4b96251020ec6b61ee5522412391f2f6168c930ba89d695
|
7
|
+
data.tar.gz: b8627857c7f60918750963f1f186962d5d411fd7c317beba1ece0d0330a842d2a56b7559f86c92ca8f4dd75bcf982d9bfcd82a3eafed9b365822fe6b2699f1ff
|
@@ -176,8 +176,8 @@ module OceanApplicationController
|
|
176
176
|
else
|
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
|
-
attrs = {count: resources.count
|
180
|
-
|
179
|
+
attrs = {count: resources.count,
|
180
|
+
total_count: x.unscope(:limit, :offset).count
|
181
181
|
}
|
182
182
|
links = {}
|
183
183
|
if href
|
data/lib/ocean/version.rb
CHANGED