metadata_presenter 3.0.14 → 3.0.15
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 748d688aee936ddbfc93a68c3ee6d658938987562b238f815ef852184751d26d
|
4
|
+
data.tar.gz: 509757afa039a05d98e142e8fb47930063063af1c2117e8b9cbb2a317a7b198e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe3620821903ecd6d4f44a9cf6535a9c8dbba7bfc03da4e92b6e19557e423058d549f1edcf8c1124aba9e72042c410e16b997e2e14203a82cc112211de1e9904
|
7
|
+
data.tar.gz: 34fe18437640f2cccdfebfb04c67164181b2c00bf98d549719bf62b0b02bd8478211ed12f464c9105ee587e3cc325ae44a67a98b95f7a62ed21992bf430b92d8
|
@@ -30,6 +30,11 @@ module MetadataPresenter
|
|
30
30
|
user_data.select { |_k, v| v.instance_of?(Hash) && v['original_filename'] =~ filename_regex }.count
|
31
31
|
end
|
32
32
|
|
33
|
+
def show_save_and_return
|
34
|
+
page.upload_components.none?
|
35
|
+
end
|
36
|
+
helper_method :show_save_and_return
|
37
|
+
|
33
38
|
private
|
34
39
|
|
35
40
|
def page
|