app/controllers/bulkrax/exporters_controller.rb
def field_mapping_params
      # @todo replace/append once mapping GUI is in place
      field_mapping_key = Bulkrax.parsers.map { |m| m[:class_name] if m[:class_name] == params[:exporter][:parser_klass] }.compact.first
      @exporter.field_mapping = Bulkrax.field_mappings[field_mapping_key] if field_mapping_key
    end
# Add the field_mapping from the Bulkrax configuration
Add the field_mapping from the Bulkrax configuration
Add the field_mapping from the Bulkrax configuration
def field_mapping_params
      field_mapping_key = Bulkrax.parsers.map { |m| m[:class_name] if m[:class_name] == params[:exporter][:parser_klass] }.compact.first
      @exporter.field_mapping = Bulkrax.field_mappings[field_mapping_key] if field_mapping_key
    end
def field_mapping_params field_mapping_key = Bulkrax . parsers . map { | m | m [ :class_name ] if m [ :class_name ] == params [ :exporter ] [ :parser_klass ] } . compact . first @exporter . field_mapping = Bulkrax . field_mappings [ field_mapping_key ] if field_mapping_key end
Add the field_mapping from the Bulkrax configuration
Add the field_mapping from the Bulkrax configuration
# @todo replace/append once mapping GUI is in place