We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d9dd03 + 73d1f7b commit 9473cacCopy full SHA for 9473cac
lib/active_admin_import/dsl.rb
@@ -42,7 +42,7 @@ def active_admin_import options = {}, &block
42
render template: options[:template]
43
end
44
45
- action_item only: :index do
+ action_item :import, only: :index do
46
if authorized?(ActiveAdminImport::Auth::IMPORT, active_admin_config.resource_class)
47
link_to(I18n.t('active_admin_import.import_model', model: options[:resource_label]), action: 'import')
48
0 commit comments