def import
@provider_status = ProviderStatus.show(params[:id], @admin)
raise ActiveRecord::Forbidden if @provider_status.status == 0
- @failures = port
+ @import_result = @provider_status.import params[:date]
respond_to do |format|
format.html # show.html.erb
format.json { render :json => @failures.to_json() }