Class: Decidim::Admin::ImportForm
- Inherits:
-
Form
- Object
- Form
- Decidim::Admin::ImportForm
- Includes:
- HasUploadValidations, ProcessesFileLocally
- Defined in:
- app/forms/decidim/admin/import_form.rb
Constant Summary collapse
- ACCEPTED_MIME_TYPES =
Decidim::Admin::Import::Readers::ACCEPTED_MIME_TYPES
Instance Method Summary collapse
Instance Method Details
#importer ⇒ Object
19 20 21 |
# File 'app/forms/decidim/admin/import_form.rb', line 19 def importer @importer ||= importer_for(file, mime_type) end |