aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/csv_import.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/csv_import.rb')
-rw-r--r--app/models/csv_import.rb10
1 files changed, 3 insertions, 7 deletions
diff --git a/app/models/csv_import.rb b/app/models/csv_import.rb
index be3c08743..69603b237 100644
--- a/app/models/csv_import.rb
+++ b/app/models/csv_import.rb
@@ -1,10 +1,6 @@
-class CsvImport < Import
+class CsvImport < ImportTask
- validates_presence_of :objectid_prefix
- option :objectid_prefix
-
- def import_options
- super.merge(:format => :csv, :objectid_prefix => objectid_prefix)
- end
+ validates_presence_of :object_id_prefix
+ option :object_id_prefix
end