Skip to content

Commit c5d44f7

Browse files
committed
2 parents 882fd16 + 9473cac commit c5d44f7

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)