class Wco::LeadsetsController

def destroy

def destroy
  leadsets = Leadset.find( params[:leadset_ids] )
  @results = []
  leadsets.each do |leadset|
    @results.push leadset.discard
  end
  flash[:notice] = "Discard outcome: #{@results.inspect}."
  redirect_to action: 'index'
end