Skip to content

Commit 9473cac

Browse files
committed
Merge pull request #21 from yeti-switch/master
action_item name
2 parents 1d9dd03 + 73d1f7b commit 9473cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_admin_import/dsl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def active_admin_import options = {}, &block
4242
render template: options[:template]
4343
end
4444

45-
action_item only: :index do
45+
action_item :import, only: :index do
4646
if authorized?(ActiveAdminImport::Auth::IMPORT, active_admin_config.resource_class)
4747
link_to(I18n.t('active_admin_import.import_model', model: options[:resource_label]), action: 'import')
4848
end

0 commit comments

Comments
 (0)