active_admin_simple_import 0.0.11 → 0.0.13
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: d4b8a7a3f906c3c7a51ae1fa057c86d80923d5ce
|
4
|
+
data.tar.gz: 7e75004e38ba414d9c9bca87852c4098e9cf8229
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e5ab5f67d33acc54be09804df88e13a9afdd25e2769a30a2d439ffbbe142f0bae4e0ba1dfafdda06887209ad6e76e377a051c88d3dc4bf8f6b69163d9e22647
|
7
|
+
data.tar.gz: 3752375dd4559a016a892ddf2a0c869b78989c3698dfce69a7f24fb1da7470fdda7003781eb350bd0246dc7718df4383367d6caa16fe6f2268efb47842783592
|
@@ -23,7 +23,8 @@ module ActiveAdminSimpleImport
|
|
23
23
|
end
|
24
24
|
|
25
25
|
action_item :import, only: :index do
|
26
|
-
link_to I18n.t("active_admin_simple_import.import_button") << " #{controller_name.singularize.camelize}",
|
26
|
+
link_to (I18n.t("active_admin_simple_import.import_button") << " #{controller_name.singularize.camelize.constantize.model_name.human}"),
|
27
|
+
action: :import, redirect_to: request.fullpath
|
27
28
|
end
|
28
29
|
end
|
29
30
|
end
|