Skip to content

Commit feafcd7

Browse files
committed
minor updates
1 parent 3e9d3fc commit feafcd7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/controllers/concerns/importable.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ def import_csv
2727
data = File.read(params[:file].path, encoding: "BOM|UTF-8")
2828
csv = CSV.parse(data, headers: true)
2929
if csv.count.positive? && csv.first.headers.all? { |header| !header.nil? }
30-
3130
errors = resource_model.import_csv(csv, current_organization.id)
3231
if errors.empty?
3332
flash[:notice] = "#{resource_model_humanized} were imported successfully!"

0 commit comments

Comments
 (0)