ActiveAdmin.register Provider do

  menu :label => 'Anbieter', :parent => 'Premium'

  filter :name

  action_item(:upload_csv, :only => :index) do
    link_to "Upload CSV", upload_csv_admin_provided_pois_path
  end

  collection_action :upload_csv, title: "Upload CSV" do
    render "/admin/provided_pois/upload_csv"
  end

  index do
    column :id
    column :name
    actions
  end

  form html: { multipart: true } do |f|
    f.inputs do
      f.input :name
      f.input :logo, hint: 'Das Logo muss exakt 44x44 Pixel gross sein.'
    end
    f.actions
  end
end

ActiveAdmin.register Provider do

  menu :label => 'Anbieter', :parent => 'Premium'

  filter :name

  action_item(:upload_csv, :only => :index) do
    link_to "Upload CSV", upload_csv_admin_provided_pois_path
  end

  index do
    column :id
    column :name
    actions
  end

  form html: { multipart: true } do |f|
    f.inputs do
      f.input :name
      f.input :logo, hint: 'Das Logo muss exakt 44x44 Pixel gross sein.'
    end
    f.actions
  end
end

Remove `collection_action` that has been placed here from a separate test in provided_poi
Remove `collection_action` that has been placed here from a separate test in provided_poi
