active_admin_simple_import 0.0.11 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b4ae3dfaf0c3f4528a04ced9f6cbee24a113abcf
4
- data.tar.gz: 3b09387d7998109eae0ad916bc9a1f123156d62c
3
+ metadata.gz: d4b8a7a3f906c3c7a51ae1fa057c86d80923d5ce
4
+ data.tar.gz: 7e75004e38ba414d9c9bca87852c4098e9cf8229
5
5
  SHA512:
6
- metadata.gz: 5d22d3c1e25000597b0cd8d6d045333b6b4399e2bd55d682ae5a1b224cfe823b6d90aa078a4d775a1eef05675fea4d57f627dcf78f8b25b4e1d02c969056b0a1
7
- data.tar.gz: fe9481f00a334bb98241f46a7a7193de78e2b3d9b8eff26c5a7f4f30dea37a884d5c8c900fd4e8659a471fba6e7fb83ed6a03861082f974ffc5d61cc313114e8
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}", action: :import, redirect_to: request.full_path
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
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminSimpleImport
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_admin_simple_import
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Romanów